assocstats
From vcd v1.43
by David Meyer
Association Statistics
Computes the Pearson chiSquared test, the Likelihood Ratio chiSquared test, the phi coefficient, the contingency coefficient and Cramer's V for possibly stratified contingency tables.
 Keywords
 category
Usage
assocstats(x)
Arguments
 x
 a contingency table, with possibly more than 2 dimensions. In this case, all dimensions except the first two ones are considered as strata.
Value

In case of a 2dimensional table, a list with components:In case of higherdimensional tables, a list of the above mentioned
structure, each list component representing one stratum defined by the
combinations of all levels of the stratum dimensions.
References
Michael Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.
Fleiss, J. L. (1981). Statistical methods for rates and proportions (2nd ed). New York: Wiley
Examples
data("Arthritis")
tab < xtabs(~Improved + Treatment, data = Arthritis)
summary(assocstats(tab))
assocstats(UCBAdmissions)
Community examples
Looks like there are no examples yet.