independence_table {vcd} | R Documentation |
Computes table of expected frequencies (under the null hypotheses of
independence) from an n
-way table.
independence_table(x, frequency = c("absolute", "relative"))
x |
a table. |
frequency |
indicates whether absolute or relative frequencies should be computed. |
A table with either absolute or relative frequencies.
David Meyer David.Meyer@R-project.org
data("MSPatients")
independence_table(MSPatients)
independence_table(MSPatients, frequency = "relative")