ExpFreq: Expected Frequencies

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Calculate the expected frequencies of an n-way table assuming independence.

Usage

1
ExpFreq(x, freq = c("abs", "rel"))

Arguments

x

a table.

freq

indicates, whether absolute or relative frenquencies should be computed. Can either be "abs" or "rel". Partial matching is supported.

Value

A table with either the absolute or the relative expected frequencies.

Note

This is a copy of the function independence_table in vcd.

Author(s)

David Meyer <David.Meyer@R-project.org>

See Also

chisq.test

Examples

1
2
3


Search within the DescTools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.