Expected Cell Counts From Two-Way Tables
Simple instructional function to compute expected cell counts from a table of observed counts.
expCounts(tab)
tab
: A table with two dimensions, or an object that can be coerced to one.Homer White hwhite0@georgetowncollege.edu
Useful links