Calibrates (builds) a PCA model for given data and parameters
pca.cal(x, ncomp, center, scale, method, exclcols = NULL, exclrows = NULL,
cv, alpha, info)
matrix with data values
number of principal components to calculate
logical, do mean centering or not
logical, do standardization or not
algorithm for compiting PC space (only 'svd' and 'nipals' are supported so far)
columns to be excluded from calculations (numbers, names or vector with logical values)
rows to be excluded from calculations (numbers, names or vector with logical values)
number of segments for random cross-validation (1 for full cross-validation).
significance level for calculating limit for Q residuals.
a short text line with model description.
an object with calibrated PCA model