Test for no main treatment effect (weighted version)
hrm.A.weighted(n, a, d, X, alpha, nonparametric = FALSE)
an vector containing the sample sizes of all groups
number of groups
number of dimensions (time points)
list containing the data matrices of all groups
alpha level used for the test
Returns a data frame consisting of the degrees of freedom, the test value, the critical value and the p-value