Learn R Programming

mdatools (version 0.14.1)

pca.run: Runs one of the selected PCA methods

Description

Runs one of the selected PCA methods

Usage

pca.run(x, ncomp, method, rand = NULL)

Arguments

x

data matrix

ncomp

number of components

method

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

rand

parameters for randomized algorithm (if not NULL)