Re: [R] problem with pls(x, y, ..., ncomp = 16): Error in inherit s( x, data.frame) : subscript out of bounds

2003-12-10 Thread Ron Wehrens
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

RE: [R] problem with pls(x, y, ..., ncomp = 16): Error in inherit s( x, data.frame) : subscript out of bounds

2003-12-09 Thread ryszard . czerminski
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