mob_wrapper | R Documentation |
Wrapper function for mob.
mob_wrapper( response, x = NULL, z = NULL, covariates = NULL, tree_builder_parameters = list() )
response |
Response variable to use in mob model. |
x |
Covariates passed to model in mob. mob uses fits the formula y ~ x1 + ... + xk | z1 + ... + zl where the variables before the | are passed to the model and the variables after the | are used for partitioning. x represents the x variables. See mob help page for more information. |
z |
Covariates used to parition the mob model. mob uses fits the formula y ~ x1 + ... + xk | z1 + ... + zl where the variables before the | are passed to the model and the variables after the | are used for partitioning. z represents the z variables. See mob help page for more information. |
covariates |
An alias for z. |
tree_builder_parameters |
A named list of parameters to pass to mob. |
An object of class MOB
mob
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.