Learn R Programming

mdatools (version 0.9.1)

pca.svd: Singular Values Decomposition based PCA algorithm

Description

Computes principal component space using Singular Values Decomposition

Usage

pca.svd(x, ncomp = NULL)

Arguments

x

a matrix with data values (preprocessed)

ncomp

number of components to calculate

Value

a list with scores, loadings and eigencalues for the components