pca: Function to perform PCA on a matrix

View source: R/Lib_PerformPCA.R

pcaR Documentation

Function to perform PCA on a matrix

Description

Function to perform PCA on a matrix

Usage

pca(X, type)

Arguments

X

matrix to apply PCA on

type

PCA (no rescale) or SPCA (rescale)

Value

list of PCA parameters (PCs from X, mean, eigenvectors and values)


jbferet/biodivMapR documentation built on May 1, 2024, 4:34 a.m.