pca.cal {mdatools} | R Documentation |
PCA model calibration
Description
Calibrates (builds) a PCA model for given data and parameters
Usage
pca.cal(x, ncomp, center, scale, method, rand = NULL)
Arguments
x |
matrix with data values |
ncomp |
number of principal components to calculate |
center |
logical, do mean centering or not |
scale |
logical, do standardization or not |
method |
algorithm for compiting PC space (only 'svd' and 'nipals' are supported so far) |
rand |
vector with parameters for randomized PCA methods (if NULL, conventional PCA is used instead) |
Value
an object with calibrated PCA model
[Package mdatools version 0.14.1 Index]