Learn R Programming

xcms (version 1.48.0)

pval: Generate p-values for a vector of t-statistics

Description

Generate p-values for a vector of Welch's two-sample t-statistics based on the t distribution.

Usage

pval(X, classlabel, teststat)

Arguments

X
original data matrix
classlabel
integer vector with classlabel
teststat
numeric vector with Welch's two-sample t-statistics

Value

A numeric vector of p-values.

See Also

mt.teststat