View source: R/package_functions.R
surv.range | R Documentation |
surv.range
evaluates survfit
object survival times by upper and lower bounds.
surv.range(survi, tl, tu)
survi |
a |
tl |
the lower bound. |
tu |
the upper bound. |
A boolean vector.
library(survival)
fit <- survfit(Surv(stop, event) ~ 1, data=bladder)
summary(fit)
surv.range(fit, .1, .9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.