Hi,
I work with hyperspectral remote sensing data and I try to built a pls 
model with this data. I already built the model but if I try to 
calculate the RMSEP and R2 with a test data set I get the following 
error message:

Error: variable 'subX' was fitted with type "nmatrix.501" but type 
"nmatrix.73" was supplied

The problem is that I don't get the message for the pls models. Thank 
you very much for your help.

/Thomas

-- 
*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*
Thomas Möckel, PhD student

Department of Earth and Ecosystem Science
Lund University
Sölvegatan 12
SE-223 62 Lund
Sweden

Tel:+46 (0)46 - 222 4887
E-mail: thomas.moc...@nateko.lu.se


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to