powered by
S3 method for extracting quantiles. No default method is available at the moment.
get_quantile(x, ...)# S3 method for survfit get_quantile( x, ..., probs = c(0.25, 0.5, 0.75), conf.int = TRUE, tolerance = sqrt(.Machine$double.eps) )
# S3 method for survfit get_quantile( x, ..., probs = c(0.25, 0.5, 0.75), conf.int = TRUE, tolerance = sqrt(.Machine$double.eps) )
A data frame with quantiles of the object
An object of class survfit
survfit
other arguments passed on to the method
probabilities Default = c(0.25,0.50,0.75)
should lower and upper confidence limits be returned?
tolerance for checking that the survival curve exactly equals one of the quantiles
quantile.survfit
## Kaplan-Meier estimates survfit_object <- visR::estimate_KM(data = adtte, strata = c("TRTP")) ## visR quantiles visR::get_quantile(survfit_object) ## survival quantiles quantile(survfit_object)
Run the code above in your browser using DataLab