Calibrates (builds) a PCA model for given data and parameters
pca.cal(x, ncomp, center, scale, method, rand = NULL)
an object with calibrated PCA model
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)
vector with parameters for randomized PCA methods (if NULL, conventional PCA is used instead)