Re: [R] survplot() for cph(): Design vs rms

2011-08-25 Thread array chip
Thanks Frank! - Original Message - From: Frank Harrell To: r-help@r-project.org Cc: Sent: Thursday, August 25, 2011 4:33 PM Subject: Re: [R] survplot() for cph(): Design vs rms http://biostat.mc.vanderbilt.edu/Rrms shows differences between Design and rms Frank array chip wrote

Re: [R] survplot() for cph(): Design vs rms

2011-08-25 Thread Frank Harrell
at.math.ethz.ch> > Sent: Thursday, August 25, 2011 3:15 PM > Subject: Re: [R] survplot() for cph(): Design vs rms > > > On Aug 25, 2011, at 5:11 PM, array chip wrote: > >> Hi, in Design package, a plot of survival probability vs. a covariate can >> be generated by surv

Re: [R] survplot() for cph(): Design vs rms

2011-08-25 Thread array chip
uot;r-h...@stat.math.ethz.ch" Sent: Thursday, August 25, 2011 3:15 PM Subject: Re: [R] survplot() for cph(): Design vs rms On Aug 25, 2011, at 5:11 PM, array chip wrote: > Hi, in Design package, a plot of survival probability vs. a covariate can be > generated by survplot() on a cph

Re: [R] survplot() for cph(): Design vs rms

2011-08-25 Thread David Winsemius
On Aug 25, 2011, at 5:11 PM, array chip wrote: Hi, in Design package, a plot of survival probability vs. a covariate can be generated by survplot() on a cph object using the folliowing code: n <- 1000 set.seed(731) age <- 50 + 12*rnorm(n) label(age) <- "Age" sex <- factor(sample(c('male','