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

Description Usage Arguments Details Value Author(s) See Also

View source: R/OrderedList.R

Description

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

Usage

1
2
3
4
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.

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.

Value

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

Author(s)

Claudio Lottaz

See Also

twilight.teststat


OrderedList documentation built on Nov. 1, 2018, 2:26 a.m.