Learn R Programming

msPCA (version 0.1.0)

variance_explained_perPC: Variance explained per PC

Description

Computes the variance explained by each PC.

Usage

variance_explained_perPC(C, U)

Value

An array.

Arguments

C

A matrix. The correlation or covariance matrix (p x p).

U

A matrix. The matrix containing the r PCs (p x r).