Learn R Programming

mdatools (version 0.8.2)

pca.run: Runs one of the selected PCA methods

Description

Runs one of the selected PCA methods

Usage

pca.run(x, ncomp, method)

Arguments

x

data matrix

ncomp

number of components

method

name of PCA methods ('svd', 'nipals')