Build a single brif tree taking a formula as input
# S3 method for formula
brifTree(
formula,
data,
subset,
na.action = stats::na.pass,
depth = 3,
n_cuts = 2047,
max_integer_classes = 20,
max_factor_levels = 30,
seed = 0,
...
)an object of class brif to be used by predict.brif.
an object of class "formula": a symbolic description of the model to be fitted.
an optional data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the variables in the model. If not found in data, the variables are taken from environment(formula), typically the environment from which brif.formula is called.
an optional vector specifying a subset (in terms of index numbers, not actual data) of observations to be used in the fitting process.
a function which indicates what should happen when the data contain NAs.
a positive integer indicating the desired depth of the tree.
a positive integer indicating the maximum number of split points to generate on each numeric or integer variable. A large value is preferred for a single tree.
a positive integer. See brif.default for details.
a positive integer. See brif.default for details.
a non-negative positive integer specifying the random number generator seed.
other relevant arguments.