summary.survfit {survival} | R Documentation |
Returns a list containing the survival curve, confidence limits for the curve, and other information.
## S3 method for class 'survfit': summary(object, times, censored=FALSE, scale=1, ...)
object |
output from a call to survfit .
|
times |
vector of times;
the returned matrix will contain 1 row for each time.
This must be in increasing order and missing values are not allowed.
If censored=T , the default times vector contains all the unique times in
fit ,
otherwise the default times vector uses only the event (death) times.
|
censored |
logical flag: should the censoring times be included in the output?
This is ignored if the times argument is present.
|
scale |
rescale the survival time, e.g., if the input data to survfit were in
days, scale=365.25 would scale the output to years.
|
... |
other unused arguments |
a list with the following components
survfit
, print.summary.survfit
.
data(ovarian) summary( survfit( Surv(futime, fustat),data=ovarian))