VTcoeffs | R Documentation |
Effect sizes of association between categorical variables
VTcoeffs(table, correct=FALSE, ...)
table |
Contingency table |
correct |
Perform continuity correction in underlying chi-square test? |
... |
Additional arguments to underlying chisq.test() |
Association between categorical variables.
Calculates Cramer's V and Tschuprow's, original and corrected (Bergsma, 2013)
Alternative: vcd::assocstats()
Includes magnitude interpretation for original Cramer's V (for df < 6).
Data frame with coefficients, values and tables.
Alexey Shipunov
x <- margin.table(Titanic, 1:2) VTcoeffs(x) VTcoeffs(x)[2, ] # most practical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.