PairContrast {maanova} | R Documentation |
It returns all possible pairwise comparison.
PairContrast(n)
n |
Number of levels in test term. |
res |
All pairwise comparison matrix. |
Hyuna Yang
# load in abf1 data data(abf1) ## Not run: fit.full.mix <- fitmaanova(abf1, formula = ~Strain+Sample, random = ~Sample) ftest.all = matest(abf1, fit.full.mix, test.method=c(1,1), shuffle.method="sample", term="Strain", n.perm= 100) C = PairContrast(3) ftest.pair = matest(abf1, fit.full.mix, Contrast = C, term="Strain", n.perm=100) ## End(Not run)