Learn R Programming

survival (version 2.6)

summary.survfit: Summary of a Survival Curve

Description

Returns a list containing the survival curve, confidence limits for the curve, and other information.

Usage

summary.survfit(fit, times, censored=F, scale=1,extend=F, ...)

Arguments

fit
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
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.
extend
Estimate survival beyond the last observed time?

Value

  • a list with the following components

item

  • time
  • surv
  • n.risk
  • n.event
  • std.err
  • conf.int
  • lower
  • upper
  • strata
  • call
  • na.action

code

fit

See Also

survfit, print.summary.survfit. data(ovarian) summary( survfit( Surv(futime, fustat),data=ovarian)) survival