varT2 {qtlmt} | R Documentation |
Hotelling's T^2 test statistic
Description
Calculate the Hotelling's T^2 test statistic.
Usage
varT2(x, group, equalVar=T)
Arguments
x |
a data matrix/frame. Columns are variables to select from. |
group |
a grouping indicator of observations. |
equalVar |
whether assume the same variance-covariance in two groups. |
Value
Hotelling's T^2 test statistic.
Examples
data(etrait)
varT2(traits, mdat[,42])
[Package qtlmt version 0.1-6 Index]