Fit HAL models via a formula and a data set for use with predictRisk.
Hal9001(formula, data, lambda = NULL, family, ...)A formula.
The data on which to fit the model.
The tuning parameters for HAL. If set to NULL, then it the parameters are chosen for you.
Can be one of c("binomial","normal"). If any other value is translated into event history analysis.
Additional arguments that are passed on to the hal_fit.