make_mboostform {betaboost}R Documentation

Building mboost formulas

Description

Transforms 'classic' formula objects (y ~ x1 + s(x2)) to mboost formulas y ~ bols(x1) + bbs(x2).

Usage

make_mboostform(formula, data = NULL)
add_bolsform(formula, data = NULL)

Arguments

formula

formula object describing a model.

data

data set, only necessary in case of "~ ." formulas

Value

formula

Examples

make_mboostform(y ~ x1 + s(x2))


[Package betaboost version 1.0.1 Index]