Description Usage Arguments Value
View source: R/model_building.R
This convenience wrapper allows easy specification of different response and predictor variables.
1 2 |
data |
Dataframe to model. |
response |
Quoted name of the response variable column. |
predictors |
A character vector of predictor variables. This will be
combined with |
rownames |
Quoted name of the column containing names of observations. |
ntree |
Number of trees to build. Defaults to 2000. |
proximity |
Whether to save proximity data or not. Defaults to TRUE. |
localImp |
Whether to save local importance data. Defaults to TRUE. |
... |
Other arguments to pass to
|
An object of class randomForest
. See
randomForest
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.