> I want to make a matrix and vector in same data frame.

You need to protect your matrix by I ()

Btw: I'm actually writing a package for handling spectra that I plan to 
release in some weeks. 
It contains a vignette showing how pls calibration can be done. 
If you want to give it a try, let me know.

Claudia Beleites

-- 
Claudia Beleites
DMRN, Università degli Studi di Trieste 
Via Alfonso Valerio 6/a 
I-34127 Trieste

______________________________________________
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