Learn R Programming

survival (version 2.11-4)

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(object, times, censored=FALSE, scale=1, ...)

Arguments

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
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

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.

Examples

Run this code
data(ovarian)
summary( survfit( Surv(futime, fustat),data=ovarian))

Run the code above in your browser using DataLab