brifTree.formula | R Documentation |
Build a single brif tree taking a formula as input
## S3 method for class '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, ... )
formula |
an object of class " |
data |
an optional data frame, list or environment (or object coercible by |
subset |
an optional vector specifying a subset (in terms of index numbers, not actual data) of observations to be used in the fitting process. |
na.action |
a function which indicates what should happen when the data contain NAs. |
depth |
a positive integer indicating the desired depth of the tree. |
n_cuts |
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. |
max_integer_classes |
a positive integer. See |
max_factor_levels |
a positive integer. See |
seed |
a non-negative positive integer specifying the random number generator seed. |
... |
other relevant arguments. |
an object of class brif
to be used by predict.brif
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.