Summary of a 2-way Table
Prints a 2-way contingency table along with percentages, marginal, and conditional distributions.
table2d_summary(object, margins = TRUE, percentages = FALSE, conditionals = c("none", "row", "column"), chisq.test = TRUE, ...)
object |
a r x c-contingency table |
margins |
if |
percentages |
if |
conditionals |
if not |
chisq.test |
if |
... |
currently not used. |
Returns invisibly a r x c x k table, k depending on the amount of choices (at most 3).
David Meyer David.Meyer@R-project.org
data("UCBAdmissions") table2d_summary(margin.table(UCBAdmissions, 1:2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.