powered by
Given the sampless, this function returns the mean and weight matrix.
Weight(G)
the mean and weight matrix
a list of all groups
G=list() set.seed(1) n1=20;n2=40 N=n1+n2; G[[1]]=c(1:n1);G[[2]]=c((n1+1):(n1+n2)); Weight(G)
Run the code above in your browser using DataLab