## S3 method for class 'survfit':
summary(object, times=, censored=FALSE, scale=1,
extend=FALSE, rmean=getOption('survfit.rmean'), ...)
survfit
function.censored=T
, the default times
vector contains all
ttimes
argument is present.survfit
were in
days, scale = 365.25
would scale the output to years.times
,
even if there are no subjects left at the end of the specified
times
.
This is only valid if the times
argument is present.print.survfit
for detailssurvfit
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.times
argument is
missing, this column is the number of subjects that entered at time t.
Otherwise, it is the cumulative number of subjects that have entered
since the last time listed until time t.times
argument is
missing, this column is the number of subjects that left without an
event at time t.
Otherwise, it is the cumulative number of subjects that have left
without an event
since the last time listed until time t+0.
This is only present for counting process survival data.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.print.survfit
function.survfit
, print.summary.survfit
summary( survfit( Surv(futime, fustat)~1, data=ovarian))
summary( survfit( Surv(futime, fustat)~rx, data=ovarian))
Run the code above in your browser using DataLab