fit_akritas | R Documentation |
survivalmodels::akritas
Wrapper of survivalmodels::akritas
fit_akritas(
formula,
data,
id.var,
time.var,
event.var,
nfold = 1,
option = list(),
lambda = 0.5,
...
)
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 |
lambda |
bandwidth parameter for uniform smoothing kernel in nearest neighbours estimation. The default value of 0.5 is arbitrary and should be chosen by the user |
... |
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.