get_statistics {pcadapt}R 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.


[Package pcadapt version 4.3.5 Index]