
Last chance! 50% off unlimited learning
Sale ends in
Calculate the expected frequencies of an n-way table assuming independence.
ExpFreq(x, freq = c("abs", "rel"))
A table with either the absolute or the relative expected frequencies.
a table.
indicates, whether absolute or relative frenquencies should be computed. Can either
be "abs"
or "rel"
. Partial matching is supported.
David Meyer <David.Meyer@R-project.org>
ExpFreq(Titanic)
ExpFreq(UCBAdmissions, freq="r")
Run the code above in your browser using DataLab