Weight {GRelevance} | R Documentation |
Given the sampless, this function returns the mean and weight matrix.
Weight(G)
G |
a list of all groups |
the mean and weight matrix
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)