Re: [R] MLE with parameters restricted to a defined range using bbmle

2014-12-10 Thread Bernardo Santos
Thanks, Rolf and Ben, Both solutions worked, but I finished by contraining parameters values using optim(). Best,Bernardo Niebuhr Em Segunda-feira, 8 de Dezembro de 2014 18:36, Rolf Turner r.tur...@auckland.ac.nz escreveu: I know nothing about the bbmle package and its mle2()

Re: [R] RODBC Error - solved

2014-12-10 Thread Knut Krueger
Just an update This error can be reproduced with: Windows system without MS Office (especially Excel) and an Excel file with graphs inside a sheet. It does not depend whether this sheet is used or not for import. Knut __ R-help@r-project.org

[R] x axis position and ggplot2

2014-12-10 Thread Jouanin Celine
Hi all, Is it possible to change the position of the x axis to have it at the top of the plot when we use the ggplot function ?Thanks for your help,Céline [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

[R] AR(1) with an error term arima.sim parameter question

2014-12-10 Thread Michael Selevan
Hello, I am attempting to plot an AR(1) model with a standard deviation and I am a little confused as how to do that. I have been looking through the interwebs and some documentation and I see that there is potentially a few different ways to do this. First, simply using the documentation I came

Re: [R] DIF

2014-12-10 Thread munevver kaya
Thanks, Achim and Richard, I will take into consideration your solutions. Best, On Tue, Dec 9, 2014 at 11:36 PM, Achim Zeileis achim.zeil...@uibk.ac.at wrote: On Tue, 9 Dec 2014, Richard M. Heiberger wrote: I recommend the likert() function in the HH package. install.packages(HH)

Re: [R] x axis position and ggplot2

2014-12-10 Thread Jeff Newmiller
I don't think that is possible with the ggplot2 package. Try lattice or base graphics? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.

Re: [R] DIF

2014-12-10 Thread Phil Chalmers
As well, the mirt package contains a function for DIF using likelihood ratio tests via multiple-group estimation methods (the multiple group estimation generally goes beyond simply testing for DIF), as well Wald tests if the information matrix was computed. Hope that helps. Phil On Wednesday,

Re: [R] Printing/Generating/Outputting a Table (Not Latex)

2014-12-10 Thread Henrik Bengtsson
On Tue, Dec 9, 2014 at 3:11 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: I'm surprised no one mentioned alternatives to LaTeX, which is not necessarily installed on all systems and it's also quite a heavy-weight setup (100's-1000's MBs). An alternative is to output a table in Markdown or

[R] maximum number of dlls issue

2014-12-10 Thread Prof J C Nash (U30A)
I'm attempting to run the following script to allow me to bring a new computer to a state where it can run a set of scripts that is running on another. # listcheckinstall.R # get a list of R packages from a file, # check if installed, # install those not installed # then update all packages # Run

Re: [R] AR(1) with an error term arima.sim parameter question

2014-12-10 Thread Rolf Turner
Please see below. On 10/12/14 20:21, Michael Selevan wrote: Hello, I am attempting to plot an AR(1) model with a standard deviation and I am a little confused as how to do that. I have been looking through the interwebs and some documentation and I see that there is potentially a few

Re: [R] Angle brackets ?plotmath

2014-12-10 Thread Uwe Ligges
On 10.12.2014 04:49, Zilefac Elvis via R-help wrote: Hi All, Please, I would like to enclose T[min] using angle brackets in R. I have tried something like: mtext(text=expression(Winter(DJF)~daily~minimum~temperature~bold((italic(symbol(\341)T[min]symbol(\361), side=3, line=1, cex=1.3,

[R] NA problem in rbind of an apply summary

2014-12-10 Thread Raffaello Vardavas
Dear All, I have a data fame. Each column has numerical values but some columns may have NA values. I'd like a table showing the summary statistics for each column. This is what I do: I first do the following: apply(df[,metrics],2,summary,na.rm=T) giving: $degree Min. 1st Qu. Median

Re: [R] NA problem in rbind of an apply summary

2014-12-10 Thread Karim Mezhoud
Hi, Could you try rbind.na.R function. karim Ô__ c/ /'_;kmezhoud (*) \(*) ⴽⴰⵔⵉⵎ ⵎⴻⵣⵀⵓⴷ http://bioinformatics.tn/ On Wed, Dec 10, 2014 at 10:34 PM, Raffaello Vardavas r_varda...@hotmail.com wrote: Dear All, I have a data fame. Each column has numerical values but some columns

Re: [R] Angle brackets ?plotmath

2014-12-10 Thread Zilefac Elvis via R-help
Perfect! # italic(symbol(\341)*T[min]*symbol(\361)) Thanks, Uwe. Asong. On 10.12.2014 04:49, Zilefac Elvis via R-help wrote: Hi All, Please, I would like to enclose T[min] using angle brackets in R. I have tried something like:

Re: [R] x axis position and ggplot2

2014-12-10 Thread Duncan Mackay
Hi I do not know ggplot2 well enough to give any advice but as Geff has mention lattice see http://tolstoy.newcastle.edu.au/R/e2/help/07/05/17666.html library(grid) myXlabGrob - function(...){ ## ...is lab1, lab2, etc # you can add arguments to textGrob for more control in the next line

Re: [R] AR(1) with an error term arima.sim parameter question

2014-12-10 Thread Michael Selevan
This makes sense, thank you for the thorough response! One follow up question though. Would your #2 option be the same as, say, not using the rand.gen at all and providing the following parameters instead? y3 - arima.sim(n=10, list(ar=0.8), innov=rnorm(10, sd=0.2)) or even y4 - arima.sim(n=10,