## S3 method for class 'survfit':
summary(object, times, censored=FALSE, scale=1, ...)
survfit
.censored=T
, the default times
vector contains all the unique times in
fit
times
argument is present.survfit
were in
days, scale=365.25
would scale the output to years.survfit
help file).times
argument is missing, then this column is the number of
events that occurred at time t.
Otherwise, it is the cumulative number of events that have occurred
since the last time listed until time t+0.strata
is not NULL
,
there are multiple curves in the result and the surv
, time
, n.risk
, etc.
vectors will contain multiple curves, pasted end to end.
The levels of strata
(a factor) are the labels for the curves.fit
object.fit
, if present.survfit
, print.summary.survfit
.summary( survfit( Surv(futime, fustat),data=ovarian))
summary( survfit( Surv(futime, fustat)~rx,data=ovarian))
Run the code above in your browser using DataLab