pca.cal: PCA model calibration

View source: R/pca.R

pca.calR 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


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.