Learn R Programming

OrderedList (version 1.44.0)

check.test.args: Helper Function to Compute Test Statistics

Description

These function compute test statistics for all rows in a matrix.

Usage

test.fc(m, cl, paired) test.t(m, cl, paired) test.z(m, cl, paired) check.test.args(m, cl, paired)

Arguments

m
the matrix of numeric values. For each row of the matrix, one test statistic is computed.
cl
a vector of class labels. cl must have as many elements as there are columns in m.
paired
logical, is TRUE, if the data in the two classes are paired.

Value

An array of the corresponding test statistic containing one element per row of the input matrix.

Details

check.test.arg is used by the other methods to check their arguments. test.t and test.z interface with the C-code contained in the twilight package in order to speed-up the computation.

See Also

twilight.teststat