search for: modsf2b

Displaying 1 result from an estimated 1 matches for "modsf2b".

Did you mean: modsf2
2013 Jun 25
1
censor=FALSE and id options in survfit.coxph
...(2,2)) plot(modsf1, col=1:3, lty=1:3, conf.int=FALSE) plot(modsf2, col=1:3, lty=1:3, conf.int=FALSE) plot(modsf3, col=1:2, lty=1:2, conf.int=FALSE) plot(modsf4, col=1:2, lty=1:2, conf.int=FALSE) # Can be done individually modsf2a <- survfit(mod, newdata=datnew[1,], id=id, censor=FALSE) modsf2a modsf2b <- survfit(mod, newdata=datnew[2,], id=id, censor=FALSE) modsf2b modsf2c <- survfit(mod, newdata=datnew[3:4,], id=id, censor=FALSE) modsf2c # one at a time par(mfrow=c(1,1)) plot(modsf2a, col=1, lty=1, conf.int=FALSE) lines(modsf2b, col=2, lty=2, conf.int=FALSE) lines(modsf2c, col=3, lty=3,...