Re: [R] Compute R2 and Q2 in PLS with pls.pcr package

2007-10-24 Thread Bjørn-Helge Mevik
Ana Conesa wrote: > I am using the mvr function of the package pls.pcr to compute PLS > resgression You should consider switching to the package 'pls'. It supersedes 'pls.pcr', which is no longer maintained (the last version came in 2005). In pls, you would do the following to get R^2 and cros

[R] Compute R2 and Q2 in PLS with pls.pcr package

2007-10-23 Thread Ana Conesa
Dear list I am using the mvr function of the package pls.pcr to compute PLS resgression using a X matrix of gene expression variables and a Y matrix of medical varaibles. I would like to obtain the R2 (sum of squares captured by the model) and Q2 (proportion of total sum of squares captured in