PairContrast: Pairwise comparison matrix

Description Usage Arguments Value Author(s) Examples

View source: R/util.R

Description

It returns all possible pairwise comparison.

Usage

1

Arguments

n

Number of levels in test term.

Value

res

All pairwise comparison matrix.

Author(s)

Hyuna Yang

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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)

maanova documentation built on Nov. 8, 2020, 8:21 p.m.