r descr_models("survival_reg", "flexsurvspline")
This model has one engine-specific tuning parameter:
k
: Number of knots in the spline. The default is k = 0
.r uses_extension("survival_reg", "flexsurvspline", "censored regression")
library(censored) survival_reg() %>% set_engine("flexsurvspline") %>% set_mode("censored regression") %>% translate()
The main interface for this model uses the formula method since the model specification typically involved the use of [survival::Surv()].
For this engine, stratification cannot be specified via [survival::strata()
], please see [flexsurv::flexsurvspline()] for alternative specifications.
flexsurv
: A Platform for Parametric Survival Modeling in R. Journal of Statistical Software, 70(8), 1 - 33.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.