fit_rfsrc | R Documentation |
randomForestSRC::rfsrc
Wrapper of randomForestSRC::rfsrc
fit_rfsrc(
formula,
data,
id.var,
time.var,
event.var,
nfold = 1,
option = list(),
oob = TRUE,
tune = TRUE,
tune.option = list(),
...
)
formula |
formula used by |
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 |
oob |
whether to use out-of-bag (OOB) fitted values from |
tune |
whether to tune |
tune.option |
a list containing optional arguments passed to |
... |
ignored |
a pred_surv
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.