A Van Dyke
2008-Oct-02 14:36 UTC
[R] specifying x-axis scale on random forest variable importance plot
i am new to R and using the random forest package. is there a way to specify the x-axis scale range for the variable importance plot? many thanks. -alison -- View this message in context: http://www.nabble.com/specifying-x-axis-scale-on-random-forest-variable-importance-plot-tp19780560p19780560.html Sent from the R help mailing list archive at Nabble.com.
Liaw, Andy
2008-Oct-02 19:27 UTC
[R] specifying x-axis scale on random forest variable importance plot
The default range is the range of the variable in the data. It wouldn't make much sense to extend beyond that. If you want to restrict the range, the varImpPlot() function does return the x-y pairs, so you can construct your own plot from that. Andy From: A Van Dyke> > i am new to R and using the random forest package. is there > a way to specify > the x-axis scale range for the variable importance plot? many thanks. > > -alison > -- > View this message in context: > http://www.nabble.com/specifying-x-axis-scale-on-random-forest > -variable-importance-plot-tp19780560p19780560.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >Notice: This e-mail message, together with any attachme...{{dropped:12}}
Reasonably Related Threads
- error message when plotting survival curves
- logistf error message
- Error on random forest variable importance estimates
- question regarding "varImpPlot" results vs. model$importance data on package "RandomForest"
- use "caret" to rank predictors by random forest model