On Jun 10, 2008, at 9:20AM , Chris Arthur wrote:

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.


Glad to help.


I then try to use my model to predict the value of the matrix accFAS
predicted=r.predict(r(mod), type='response', ncomp = 10, newdata = accFAS )


I think your problem comes from the r(mod). This form expects a string to be evaluated in r. Try this instead"

predicted=r.predict(mod, type='response', ncomp = 10, newdata = accFAS )


-G
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to