get_statistics: pcadapt statistics

View source: R/pcadapt.R

get_statisticsR Documentation

pcadapt statistics

Description

get_statistics returns chi-squared distributed statistics.

Usage

get_statistics(zscores, method, pass)

Arguments

zscores

a numeric matrix containing the z-scores.

method

a character string specifying the method to be used to compute the p-values. Two statistics are currently available, "mahalanobis", and "componentwise".

pass

a boolean vector.

Value

The returned value is a list containing the test statistics and the associated p-values.


bcm-uga/pcadapt documentation built on Jan. 30, 2024, 11:57 p.m.