k_index | R Documentation |
K-index estimation
k_index(object, newdata = NULL, ncv = NULL)
object |
a cureit model object |
newdata |
A |
ncv |
number of folds for cross validation. Defaults to |
p <- cureit(surv_formula = Surv(ttdeath, death) ~ age,
cure_formula = ~ age,
data = trial)
k_index(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.