Description Usage Arguments Details Value See Also Examples
When RF is used to find nearest neighbors, the importance of each variable in the RF trees is calculated. This function returns the importance of each variable and a ggplot2
object
1 |
model |
A yai object |
scaled |
Logical. Should importance values be centered and scaled? |
plot |
Logical. If TRUE, returns a ggplot2 object based on plotType value |
plotType |
Either of "boxplot" or "grid" |
If scaled = TRUE
, importance values are centered by subtracting their mean and scaled by dividing the centered importance by their standard deviation.
A list containing the following objects:
importance
A data.frame object containing the importance of each response variable and the mean importance of all variables combined
plot
A ggplot object showing a plot of the importance values according to plotType
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.