powered by
Calculate the Hotelling's T^2 test statistic.
varT2(x, group, equalVar=T)
a data matrix/frame. Columns are variables to select from.
a grouping indicator of observations.
whether assume the same variance-covariance in two groups.
Hotelling's T^2 test statistic.
# NOT RUN { data(etrait) varT2(traits, mdat[,42]) # }
Run the code above in your browser using DataLab