Thanks Gregory, that "y ~ ." syntax solves my problems. and allows my to
pull out the PLSR data I wanted, but leads me to my next problem.
I generate PLSR model as follows
mod=r.plsr(r("V83 ~ ."),ncomp=10,data=dataPLS,validation="CV")
and test it by ploting ...
r.plot(mod,ncomp=10 )
This works.
FAS )
RPy_RException: Error in eval(predvars, data, env) :
numeric 'envir' arg not of length one
which is why I had thought it was r(mod) originally; or is this error
telling me something else is wrong?
Chris
Gregory Warnes wrote:
>
>
>
> On Jun 10, 2008, at 9:20AM , Chris
ght it was r(mod) originally; or is this error
telling me something else is wrong?
What does "numeric 'envir' arg not of length one" refer to anyway?
Chris
Chris Arthur wrote:
> Hi Gregory,
>
> Changing that to mod instead of r(mod) results in the following error
>