On Wednesday 10 December 2003 05:14, Liaw, Andy wrote:
My first guess was wrong (should have RTFM...). Try:
m - pls(x, y, validation = CV, niter = 68, ncomp = 1:16)
I'm not familiar enough with SIMPLS to know whether it makes sense to pass
ncomp of length 1 to pls(), but the code as is
Help for pls says:
?pls
[...]
Arguments:
...
ncomp: the numbers of latent variables to be assessed in the
modelling. Default is from one to the rank of 'X'.
[...]
so my assumption was (maybe wrong) that idea of ncomp parameter is to
limit
number of assessed variables.
also, if