powered by
plot_imp(imp, sort = "decreasing")
c("importance", "data.frame")
variable_importance
library(randomForest) data(iris) fit <- randomForest(Species ~ ., iris) imp <- variable_importance(fit, nperm = 2, data = iris) plot_imp(imp)
Run the code above in your browser using DataLab