Nothing
knitr::opts_chunk$set(collapse = TRUE, comment = '#>')
This vignette demonstrates a typical survival analysis workflow using the BetaDanish package.
library(BetaDanish) library(survival) data('remission', package = 'BetaDanish') head(remission)
fit <- fit_betadanish(Surv(time, status) ~ 1, data = remission, n_starts = 1) summary(fit)
fit_sub <- fit_betadanish(Surv(time, status) ~ 1, data = remission, submodel = TRUE, n_starts = 1) compare_models(fit, fit_sub)
plot(fit, type = 'survival') plot(fit, type = 'hazard')
The fitted model can be used to estimate survival probabilities, hazard behavior, and overall model fit. Users should compare the Beta-Danish model with alternative lifetime distributions and inspect diagnostic plots before drawing final conclusions.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.