Calculates Pillai's trace statistic for a given super_sample object.
This function ensures that the within-group
and total covariance matrices are computed,
then computes the sum of the eigenvalues of
the matrix (Total - Within) %*% solve(Total).
pillais_trace(super_sample)A numeric value representing Pillai's trace statistic.
An object of class CSuperSample
Pillai's trace is a test statistic for the ANOVA test decribed in (to appear).