powered by
Calculates principal component space using non-linear iterative partial least squares algorithm (NIPALS)
pca.nipals(x, ncomp)
a matrix with data values (preprocessed)
number of components to calculate
a list with scores, loadings and eigencalues for the components
Geladi, Paul; Kowalski, Bruce (1986), "Partial Least Squares Regression:A Tutorial", Analytica Chimica Acta 185: 1-17