fit_survSuperLearner | R Documentation |
survSuperLearner::survSuperLearner
Wrapper of survSuperLearner::survSuperLearner
fit_survSuperLearner(
formula,
data,
id.var,
time.var,
event.var,
nfold = 1,
option = list(event.SL.library = c("survSL.coxph", "survSL.weibreg", "survSL.gam",
"survSL.rfsrc"), cens.SL.library = c("survSL.coxph", "survSL.weibreg", "survSL.gam",
"survSL.rfsrc")),
...
)
formula |
formula containing all covariates to be used |
data |
data containing all covariates, follow-up time, event indicator and id |
id.var |
see |
time.var |
see |
event.var |
see |
nfold |
number of folds used when fitting survival curves with sample splitting. Default is 1, meaning no sample splitting |
option |
a list containing optional arguments passed to |
... |
ignored |
a pred_event_censor
class containing fitted survival curves for individuals in data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.