search for: ssurv

Displaying 3 results from an estimated 3 matches for "ssurv".

Did you mean: surv
2006 Dec 13
1
Passing arguments to panels in trellis plots
...garithmic. I am trying this: print(Ecdf(~time | size*type, groups=alg,data=B,subscripts=TRUE, panel=function(x,groups,subscripts) { t <- survfit(Surv(time[subscripts],event[subscripts])~groups[subscripts],data=B) panel.xyplot(t[1]$time,1-t[1]$ssurv,type="s",lty=2) panel.xyplot(t[2]$time,1-t[2]$ssurv,type="s",lty=2) }, scale=list(log=TRUE) ) but data are transformed in logarithm before being passed to the panel and hence the output of the function survfit is not the expected one. Is there...
2006 Dec 09
0
Survfit plots in trellis graphics
...s: print(Ecdf(~time | size*type, groups=alg,data=B,subscripts=TRUE, panel=function(x,groups,subscripts) { t <- survfit(Surv(time[subscripts],event[subscripts])~groups[subscripts],data=B,conf.type="none") panel.xyplot(t[1]$time,1-t[1]$ssurv,type="s",lty=2) panel.xyplot(t[2]$time,1-t[2]$ssurv,type="s",lty=2) } ) but things get messed up if I try log transformations and to plot confidence intervals. - Marco. -- Marco Chiarandini http://www.imada.sdu.dk/~marco Depar...
2006 May 19
2
Tick marks in lines.survfit
I posted several months about the problem with adding tick marks to curves using lines.survfit. This occurs when lines.survfit is used to add a curve to survival curves plotted with plot.survfit. The help for this function implies that mark.time=TRUE thus: plot(pfsfit,conf.int=FALSE,xscale=365.25,yscale=100,xlab="Years",ylab="% surviving",lty=2,mark=3)