Learn R Programming

EMA (version 1.4.7)

qualitySample: Sample quality computation in PCA

Description

Sample quality computation in Principal Component Analysis: compute cos2 between samples and each combination of 2 axes

Usage

qualitySample(acp, axes = c(1:3))

Arguments

acp

result from PCA or runPCA function

axes

vector of integer, axes number for quality computation, by default 1:3

Value

A matrix with cos2 between samples and axes

Details

Representation quality for 2 axes is the sum of representation quality for each axe

See Also

runPCA, PCA