Skip to contents

Checks the eigen equation directly using Rayleigh quotients.

Usage

pca_eigen_residuals(covariance, eigenvectors, components = 2L)

Arguments

covariance

Numeric square covariance or genetic relationship matrix.

eigenvectors

Numeric matrix with samples in rows and components in columns.

components

Number of leading components to validate.

Value

A list containing relative residuals, orthogonality error, and summary maxima.