[R] Contour plots in R Studio

2014-05-12 Thread Lydia Keppler
s. I have only made contourplots with 2D data (i.e. contour (lat,lon, z) and am struggling a bit to find help. Any suggestions are very much appreciated. Cheers, Lydia -- ><º> [[alternative HTML version deleted]] __ R-help@r-project

[R] timedep in frailtypack

2014-05-07 Thread lydia
Hello everyone, I have been trying to use the timedep(predictor) capability of the frailtypack package in order to include time-varying covariates in a frailty model. The following is an example of the code I use: sha.time <- frailtyPenal(Surv(time,event)~cluster(id)+timedep(age) ,Frailty=TRU

Re: [R] Welcome to the "R-help" mailing list

2013-12-18 Thread Lydia Keppler
Hi there, I am new to R and programming in general and am looking for help with writing a function with dates and times. I have checked around but am still a bit stuck. Basically, I have data in the format "dd/mm/ HH:MM" and I have to calculate how much time has passed between various events.

[R] Scatterplot Matrix

2008-10-21 Thread DISABATINO, LYDIA
Is there any way to make the points on my scatterplot matrix correspond to numbers instead of dots? I know how to do this on a regular 2-variable scatterplot but not on the matrix. Thanks! -Lydia [[alternative HTML version deleted]] __ R

Re: [R] how to not sort factors when plotting

2008-05-12 Thread Lydia N. Slobodian
Thanks for all of the help! Everything's working beautifully now, and I've accomplished in a few hours what it takes most of my colleagues weeks to do, so I think I'll stick with R after all! Lydia On Mon, May 12, 2008 at 4:41 PM, Jorge Ivan Velez <[EMAIL PROTECTED]> wrote:

Re: [R] how to not sort factors when plotting

2008-05-12 Thread Lydia N. Slobodian
ctor? Thank you, Lydia __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] how to not sort factors when plotting

2008-05-01 Thread Lydia N. Slobodian
Hello, When making a graph, plot and boxplot automatically sort my factor levels (y axis) into alphabetical order. Is there a way to make it NOT do this? I've tried: sort.by="none", sorted=FALSE, sort=FALSE, reorder=FALSE. Thank you. __ R-help@r-pro