get_summary | R Documentation |
S3 method for extracting descriptive statistics across strata. No default method is available at the moment.
get_summary(x, ...)
## S3 method for class 'survfit'
get_summary(
x,
statlist = c("strata", "records", "events", "median", "LCL", "UCL", "CI"),
...
)
x |
An object of class |
... |
other arguments passed on to the method |
statlist |
Character vector containing the desired information to be displayed. The order of the arguments determines the order in which they are displayed in the final result. Default is the strata ("strata"), number of subjects ("records"), number of events ("events"), the median survival time ("median"), the Confidence Interval ("CI"), the Lower Confidence Limit ("UCL") and the Upper Confidence Limit ("UCL"). |
list of summary statistics from survfit object
A data frame with summary measures from a survfit
object
survfit_object <- survival::survfit(data = adtte, survival::Surv(AVAL, 1 - CNSR) ~ TRTP)
get_summary(survfit_object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.