[R] multiple imputation of longitudinal, time-unstructured data

2015-02-17 Thread Pam Dopart
? Any advice on how to get started would be greatly appreciated! Thank you! Pam [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] is parallel computing possible for 'rollapplyr' job?

2012-04-05 Thread Pam
  Hi,   The code below does exactly what I want in sequential mode. But, it is slow and I want to run it in parallel mode. I examined some windows version packages (parallel, snow, snowfall,..) but could not solve my specific problem. As far as I understood, either I have to write a new function

[R] Using influence plots and obtaining id numbers

2012-01-30 Thread Pam
I am a novice R user, and I am having difficulty understanding R's influence plots. I am trying to remove outliers from a particular variable, "sib." I am able to generate influence plots and further outlier information such as below (which is a shortened example). For my analyses, I end up exclu

[R] Lattice wireframe or cloud plot with different colours by a group

2011-04-01 Thread Pam Allen
51A8B","#43CD80")) I would also be happy if I could do this with a cloud plot, but I can't get the colors to plot correctly. cloud(flow~day*year, data=flow.dat, shade=T, groups=grp, col.group=c("#FF3030","#43CD80","#1E90FF"), pch=20) Any help is m

Re: [R] Help with plotting a line that is multicoloured based on levels of a factor

2011-03-28 Thread Pam Allen
flow, levels) plot(data$date,data$flow,type="n") library(plotrix) color.scale.lines(data$date,data$flow, col=color.scale(data$flow,extremes=c("blue","red"))) I got this error: "Error in length(redrange) : 'redrange' is missing" But I do think th

Re: [R] Help with plotting a line that is multicoloured based on levels of a factor

2011-03-25 Thread Pam Allen
s1=="extreme.low NA","4.Extreme.Low",NA) colour=ifelse(dat$class=="1.Extreme.High","red", ifelse(dat$class=="2.Medium","green", ifelse(dat$class=="3.Low","blue", ifelse(d

Re: [R] Help with plotting a line that is multicoloured based on levels of a factor

2011-03-25 Thread Pam Allen
data$levels=="high","red", ifelse(data$levels=="med","green", ifelse(data$levels=="low","blue",""))) And plot a line without having to create new data, i.e. "d"? Thank you. -Pam allen_...@hotmail

Re: [R] interactive session

2010-09-30 Thread Pam
Fatih I believe that readLines(n=1) will do the job. It works fine from the Windows RGui, but I noticed that it hangs my Aquamacs/ESS when R runs from there, and a C-g was needed (which may be completely irrelevant to you). Best, Niels On 30/09/10 08.55, Pam wrote: >Hi guys, > >My

[R] interactive session

2010-09-30 Thread Pam
Hi guys, My concern is to create an automated process from the beginning to the end. I want to copy all my code together in one piece and paste it to R console and sit back and relax :) except one moment in which the program should ask me to enter a number.. and only then (only after getting a

[R] forestplot and x axis scale

2008-12-08 Thread Pam Murnane
he amount of text for display within "newcite"? --> A second and less essential question: I've used mytk10 for the axis tickmarks/labels - I'd prefer no decimal points for 1,2,5,and 10 - any way to adjust this? Thanks in advance for any assistance! Pam ___