powered by
Pairwise Chi-squared or Fisher test for 2-dimensional tables
pairwise.Table2.test(tbl, names=rownames(tbl), p.adjust.method="BH", exact=FALSE, ...)
List with test outputs.
Contingency table
Level names
See '?p.adjust'
Run exact test?
Arguments to test function
Alexey Shipunov
Pairwise Chi-squared or Fisher test for 2-dimensional tables.
Alternatives: NCStats::chisqPostHoc() and fifer::chisq.post.hoc(). Both of them are not CRAN packages.
titanic <- margin.table(Titanic, c(1, 4)) chisq.test(titanic) pairwise.Table2.test(titanic)
Run the code above in your browser using DataLab