Re: [R] cross-validation in plsr package

2010-02-22 Thread Peter Tillmann
Kjaere Bjørn-Helge, > > > can anyone give an example how to use cross-validation in the plsr > package. > > There are examples in the references cited on > http://mevik.net/work/software/pls.html > > > I miss to find the number of factors proposed by cross-validation as > > optimum. > > T

[R] cross-validation in plsr package

2010-02-21 Thread Peter Tillmann
Dear readers, can anyone give an example how to use cross-validation in the plsr package. I miss to find the number of factors proposed by cross-validation as optimum. Thank you Peter -- View this message in context: http://n4.nabble.com/cross-validation-in-plsr-package-tp1563815p1563815.htm

[R] unexpected results in comparison (x == y)

2009-11-04 Thread Peter Tillmann
Dear readers of the list, I have a problem a comparison of two data from a vector. The comparison yields FALSE but should be TRUE. I have checked for mode(), length() and attributes(). See the following code (R2.10.0): --- # data vector of 66 double dat