[R] randomSurvivalForest plotting

A Van Dyke avandyk at med.wayne.edu
Mon Jan 26 20:35:39 CET 2009


i would like to plot a subset of variables with the highest variable
importance measures (say the top 20) instead of plotting all of the
variables included in the analysis (~75).  i tried arguments that work to
restrict the number of variables displayed in the plot in randomForest as
follows:

plot(rsfCauc.out,sort=TRUE,n.var=min(30,nrow(rsfCauc.out$importance)),type=TRUE,class=NULL,scale=TRUE,main=deparse(substitute(rsfCauc.out)))

however, that code only resulted in the plot with all 75 variables.  

help would be much appreciated.  many thanks!
-- 
View this message in context: http://www.nabble.com/randomSurvivalForest-plotting-tp21672013p21672013.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list