pairwise.Table2.test | R Documentation |
Pairwise Chi-squared or Fisher test for 2-dimensional tables
pairwise.Table2.test(tbl, names=rownames(tbl), p.adjust.method="BH", exact=FALSE, ...)
tbl |
Contingency table |
names |
Level names |
p.adjust.method |
See '?p.adjust' |
exact |
Run exact test? |
... |
Arguments to test function |
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.
List with test outputs.
Alexey Shipunov
titanic <- margin.table(Titanic, c(1, 4)) chisq.test(titanic) pairwise.Table2.test(titanic)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.