Learn R Programming

pcadapt (version 4.4.0)

get_statistics: pcadapt statistics

Description

get_statistics returns chi-squared distributed statistics.

Usage

get_statistics(zscores, method, pass)

Value

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

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.