pca: PCA

Description Usage Arguments

View source: R/pca.r

Description

Principal components analysis.

Usage

1
pca(x, retx = TRUE, center = TRUE, scale = FALSE, method = "svd")

Arguments

x

The input matrix or dataframe.

retx

Return the rotated variables?

center

Center the matrix first?

scale

Scale the matrix first?

method

"svd" for svd of data matrix, or "eigcov" for eigenvalue decomposition of the covariance matrix.


wrathematics/pcapack documentation built on May 4, 2019, 10:53 a.m.