mob_wrapper {TSDT} | R Documentation |
mob_wrapper
Description
Wrapper function for mob.
Usage
mob_wrapper(
response,
x = NULL,
z = NULL,
covariates = NULL,
tree_builder_parameters = list()
)
Arguments
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. |
Value
An object of class MOB
See Also
[Package TSDT version 1.0.7 Index]