Re: [R] use caret to rank predictors by random forest model

2011-03-13 Thread Xiaoqi Cui
automatically give the best size of the selected subset without user providing the candidate sizes. Thanks, Best, Xiaoqi - Original Message - From: Max Kuhn mxk...@gmail.com To: Xiaoqi Cui x...@mtu.edu Cc: r-help@r-project.org Sent: Monday, March 7, 2011 2:33:06 PM GMT -06:00 US/Canada Central

[R] use caret to rank predictors by random forest model

2011-03-07 Thread Xiaoqi Cui
Hi, I'm using package caret to rank predictors using random forest model and draw predictors importance plot. I used below commands: rf.fit-randomForest(x,y,ntree=500,importance=TRUE) ## x is matrix whose columns are predictors, y is a binary resonse vector ## Then I got the ranked predictors

[R] R package kernlab can not be properly loaded

2010-11-22 Thread Xiaoqi Cui
Hi, I tried to load the package kernlab under R-v11 and R-v10, however it gave error message: Error in library.dynam(lib, package, package.lib) : shared library 'kernlab' not found In addition: Warning message: package 'kernlab' was built under R version 2.12.0 Error: package/namespace load

[R] can not produce graph using splom

2010-11-11 Thread Xiaoqi Cui
Hi, I wrote a function basically to first read an input data file, then open an pdf file and draw graph using splom. When testing, I ran the function line by line, it can produce nice plot, but with like 50 warnings. However, whenever I ran this function as a whole, it can not produce any

[R] change axis labels and text size in splom

2010-11-10 Thread Xiaoqi Cui
Hi everyone: I'm using splom to draw scatterplot matrix. I'm wondering how can I change the axis labels to c(1,10,100,1000,...) instead of c(1,2,3,...), and also how can I change the text size (for labels)? Thanks a lot! xcui __ R-help@r-project.org