powered by
pairwise.G.test(x, p.method = "fdr")
p.adjust
G.test
x <- matrix(c(22,28,13,37,35,15),ncol=2,dimnames=list(c("Control","Treatment1","Treatment2"), c("Alive","Dead")),byrow=TRUE) G.test(x) pairwise.G.test(x)
Run the code above in your browser using DataLab