Hi,
I downloaded the pls.pcr package and was experimenting with some of my
data. I have two files: the first contains the obervation matrix, each
line consisting of the parameters for one observation. The other file
contains the dependant variable (one value per line).
The steps I do to do a PLS are:
x <- read.table("obs")
y <- read.table("res")
o <- mvr(x,y,method="SIMPLS")
This appears to work. However when I do
o <- mvr(x,y,method="SIMPLS",validation="CV")
I get
Error in crossprod(x, y) : requires numeric matrix/vector arguments
Does anybody have any idea why this should occur?
Thanks,
-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
C Code.
C Code Run.
Run, Code, RUN!
PLEASE!!!!
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help