ldecomp.getVariances: Compute explained variance

View source: R/ldecomp.R

ldecomp.getVariancesR Documentation

Compute explained variance

Description

Computes explained variance and cumulative explained variance for data decomposition.

Usage

ldecomp.getVariances(scores, loadings, residuals, Q)

Arguments

scores

matrix with scores (T).

loadings

matrix with loadings (P).

residuals

matrix with residuals (E).

Q

matrix with squared orthogonal distances.

Value

Returns a list with two vectors.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.