[R] randomSurvivalForest plotting

2009-01-26 Thread A Van Dyke
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: plo

[R] bootstrap validation of LR error message

2009-01-16 Thread A Van Dyke
when i try to validate my logistic regression model: fit<-glm(y~x,binomial,data=dataname,x=TRUE,y=TRUE) validate(fit,method="boot",B=150,...) i get the following error message: Error in UseMethod("validate") : no applicable method for "validate" any insight would be appreciated. many thanks!

[R] error message when plotting survival curves

2008-10-20 Thread A Van Dyke
I am trying to plot survival curves using the following code as an example: >rs1799964.coxph<-(coxph(Surv(sassurvmonths,status)~age+stage+rs1799964_TNFA,method="efron")) >plot(rs1799964.coxph,lyt=c(1,3),xlab="Survival in Months",ylab="Proportion Surviving") I am gettingthe following error messa

[R] specifying x-axis scale on random forest variable importance plot

2008-10-02 Thread 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-tp19780560p197805