[R] How to pre-filter large amounts of data effectively

2005-08-09 Thread Torsten Schindler
Hi, I'm a R newbie and want to accelerate the following pre-filtering step of a data set with more than 115,000 rows : #- # Function to filter out constant data columns filter.const-function(X, vectors=c('column', 'row'), tol=0){ realdata=c() filteredX-matrix() if(

Re: [R] How to pre-filter large amounts of data effectively

2005-08-09 Thread Torsten Schindler
) Torsten Schindler wrote: Hi, I'm a R newbie and want to accelerate the following pre-filtering step of a data set with more than 115,000 rows : #- # Function to filter out constant data columns filter.const-function(X, vectors=c('column', 'row'), tol=0){ realdata=c

[R] PLS component selection for GPLS question

2005-07-29 Thread Torsten Schindler
How to select the number of PLS components for GPLS for data sets with few samples? Concrete problem: My data set: 9 samples of class A and 37 of class B with 254 descriptors. In the paper: Classification Using Generalized Partial Least Squares, Beiying Ding, Robert Gentleman,