modify.surv.fun truncates survfit by upper and lower bounds.
modify.surv.fun(survi, tl, tu)
a survfit object.
the lower bound.
the upper bound.
A truncated survfit object.
fit <- survfit(Surv(stop, event) ~ 1, data=bladder)
fit2 <- modify.surv.fun(fit, .1, .9)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.