Peter Tillmann <peter.tillm...@t-online.de> writes: > 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. The cross-validation in the pls package does not propose a number of factors as optimum, you have to select this yourself. (The reason for this is that there is AFAIK no theoretically founded and widely accepted way of doing this automatically. I'd be happy to learn otherwise.) -- Regards, Bjørn-Helge Mevik ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.