RandomForest | R Documentation |
Fit a random forest model
RandomForest(
formula,
data = NULL,
subset = NULL,
weights = NULL,
output = "Importance",
missing = "Exclude cases with missing data",
seed = 12321,
show.labels = FALSE,
sort.by.importance = TRUE,
...
)
formula |
A formula of the form |
data |
A |
subset |
An optional vector specifying a subset of observations to be
used in the fitting process, or the name of a variable in |
weights |
An optional vector of sampling weights, or the
name of a variable in |
output |
One of |
missing |
How missing data is to be treated. Options:
|
seed |
The random number seed. |
show.labels |
Shows the variable labels, as opposed to the labels, in the outputs, where a variables label is an attribute (e.g., attr(foo, "label")). |
sort.by.importance |
Sort the last column of the importance table in descending order. |
... |
Other arguments to be supplied to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.