powered by
Transforms 'classic' formula objects (y ~ x1 + s(x2)) to mboost formulas y ~ bols(x1) + bbs(x2).
y ~ x1 + s(x2)
mboost
y ~ bols(x1) + bbs(x2)
make_mboostform(formula, data = NULL) add_bolsform(formula, data = NULL)
formula object describing a model.
data set, only necessary in case of "~ ." formulas
formula
# NOT RUN { make_mboostform(y ~ x1 + s(x2)) # }
Run the code above in your browser using DataLab