fraction_variance_explained_perPC: Fraction of variance explained per PC

View source: R/main.R

fraction_variance_explained_perPCR Documentation

Fraction of variance explained per PC

Description

Computes the fraction of variance explained (variance explained normalized by the trace of the covariance/correlation matrix) by each PC.

Usage

fraction_variance_explained_perPC(C, U)

Arguments

C

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

U

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

Value

An array.


msPCA documentation built on May 16, 2026, 1:08 a.m.