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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.