View source: R/methods.survfitr.R
| print.survfitr | R Documentation |
Prints, for each curve, the number of subjects, the number of events, the restricted mean survival and its standard error, the median survival and the minimum, maximum and median number of recurrences per subject.
## S3 method for class 'survfitr'
print(x, scale = 1, digits = max(options()$digits - 4, 3), ...)
x |
the result of a call to |
scale |
a numeric value to rescale the survival time, e.g. if the
input data are in days, |
digits |
number of digits to print. |
... |
other unused arguments. |
The restricted mean and its standard error are based on a truncated estimator: if the survival curve does not reach zero, the reported quantity is the mean survival restricted to the time before the last censoring. The median is the time at which the survival curve crosses 0.5.
x, invisibly.
summary.survfitr(), survfitr()
data(MMC)
fit <- survfitr(Survr(id, time, event) ~ group, data = MMC)
print(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.