powered by
cochran.qtest(formula, data, alpha = 0.05, p.method = "fdr")
a ~ b | c
a
b
c
formula
environment(formula)
p.adjust
response <- c(0,1,1,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1) fact <- gl(3,1,30,labels=LETTERS[1:3]) block <- gl(10,3,labels=letters[1:10]) cochran.qtest(response~fact|block)
Run the code above in your browser using DataLab