Re: [R] question about plsr() results

2011-12-02 Thread Bjørn-Helge Mevik
Vytautas Rakeviius vytautas1...@yahoo.com writes: But still I have question about results interpretation. In the end I want to construct prediction function in form: Y=a1x1+a2x2 The predict() function does the prediction for you. If you want to construct the prediction _equation_, you can

[R] question about plsr() results

2011-12-01 Thread Vytautas Rakeviius
Hi, With some help I learned how to use plsr(Y~x, 2, data=my) function in R (and build my from vector Y and matrix x). But still I have question about results interpretation. In the end I want to construct prediction function in form: Y=a1x1+a2x2 But I do not understand how to do it.