random forest - displaying variable in plot(varImp(randomForest_model)) -


varimpplot(randomforest_model) in randomforest displays default 30 top variables. how display selected top variable only. eg top 18 .

i figured out. needed use n.var display number of variables

varimpplot(rf_fit,scale=true,n.var=18) 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - IIFE: var vs this - is there any difference? -

r - Grow a ffdf data frame on disk gradually -