Hi

I am used to handle bio information such as NMR data or IR data .

I want to perform pls regression, so I search the help page of plsr. and I
use the example of plsr.

But I have a problem to make appropriate data format to do plsr.

these example data type like this :


A data frame with components NIR Numeric matrix of NIR measurements
density Numeric
vector of densities train Logical vector with TRUE for the training samples
and FALSE for the test samples

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

how can I do ?

	[[alternative HTML version deleted]]


