mob_wrapper: mob_wrapper

View source: R/parse_party.R

mob_wrapperR 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

mob


TSDT documentation built on April 7, 2022, 1:07 a.m.

Related to mob_wrapper in TSDT...