mobj_fit_lm | R Documentation |
internal helper function to setup a linear model for a given l1, l2, or l3 model
mobj_fit_lm(mobj = NULL, model_formula = NULL, data, id_cols = NULL, lg = NULL)
mobj |
a model object to be populated or modified |
model_formula |
a character string specifying the formula of the model to be fit |
data |
a data.frame containing all columns used in model fitting |
id_cols |
a character vector of column names in |
a model object containing the fitted model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.