summary.table {vcd} | R Documentation |
Prints a m x n-contingency table along with percentages, marginal and conditional distributions.
summary.table(object, margins = TRUE, percentages = FALSE, conditionals = c("none", "row", "column"), ...)
object |
a m x n-contingency table |
margins |
if TRUE , marginal distributions are computed. |
percentages |
if TRUE , relative frequencies are computed. |
conditionals |
if not "none" , the conditioinal
distributions, given the row/column factor, are computed. |
... |
currently not used. |
Returns invisibly a m x n x o - table, o depending on the amount of choices (max 3).
David Meyer
david.meyer@ci.tuwien.ac.at
data(UCBAdmissions) summary(margin.table(UCBAdmissions, 1:2))