Description Usage Arguments Value
Get random forest importance values and rank variables per order of importance
1 | varImpRank(rfList, measure = "IncMSE", nrank = 5, saveFigure = FALSE, outdir)
|
rfList |
List of random forest models trained with the function |
measure |
Character. Random forest importance measure. Can be either IncMSE (default) or IncNodePurity. |
nrank |
Numeric. Maximum importance rank to be included. Default is 5 |
saveFigure |
Logical. If TRUE, save scatterplots in outdir. Currently save a pdf file of 7 inches width and 5 inches height. Default is FALSE |
outdir |
Character. Path to exisiting directory where models and scatterplots will be saved if wanted |
A list containing two elements:
"rank" a data.frame showing the number of time a variable is part of the nrank most important varaibles
"plota barplot (ggplot2 object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.