Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
set.seed(4543)
data(mtcars)
mtcars.rf <- randomForest(mpg ~ ., data=mtcars, ntree=1000,
keep.forest=FALSE, importance=TRUE)
importance(mtcars.rf)
importance(mtcars.rf, type=1)
# }
Run the code above in your browser using DataLab