ExpFreq | R Documentation |
Calculate the expected frequencies of an n-way table assuming independence.
ExpFreq(x, freq = c("abs", "rel"))
x |
a table. |
freq |
indicates, whether absolute or relative frenquencies should be computed. Can either
be |
A table with either the absolute or the relative expected frequencies.
This is a copy of the function independence_table
in vcd.
David Meyer <David.Meyer@R-project.org>
chisq.test
ExpFreq(Titanic)
ExpFreq(UCBAdmissions, freq="r")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.