| plot_survival_km | R Documentation |
Provides specialized plotting capabilities for fitted shared frailty models, including frailty density overlays across all five families, baseline hazard curves, Kaplan-Meier survival curves, residual diagnostic plots, coefficient forest plots, and influence diagnostic plots.
plot_survival_km(fit)
fit |
A fitted object of class |
No return value, called for side effects (displays a Kaplan-Meier survival curve with fitted MultiFrailty model overlay).
Pandey, A., Hanagal, D. D., & Tyagi, S. (2022). Shared Frailty Models Based on Cancer Data. International Journal of Statistics and Reliability Engineering, 9(3), 461-474.
Pandey, A., & Tyagi, S. (2021). Comparison of Multiplicative Frailty Models Under Weibull Baseline Distribution. Lobachevskii Journal of Mathematics, 42(13), 3184-3195.
set.seed(123)
dat <- r_frailty(n = 60, baseline = "weibull", bpar = c(2, 1.5), frailty = "gamma", fpar = c(0.8))
fit <- fit_frailty(time = dat$time, status = dat$status, baseline = "weibull", frailty = "gamma")
plot_survival_km(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.