VTcoeffs {shipunov} | R Documentation |
Effect sizes of association between categorical variables
Description
Effect sizes of association between categorical variables
Usage
VTcoeffs(table, correct=FALSE, ...)
Arguments
table |
Contingency table |
correct |
Perform continuity correction in underlying chi-square test? |
... |
Additional arguments to underlying chisq.test() |
Details
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).
Value
Data frame with coefficients, values and tables.
Author(s)
Alexey Shipunov
Examples
x <- margin.table(Titanic, 1:2)
VTcoeffs(x)
VTcoeffs(x)[2, ] # most practical
[Package shipunov version 1.17.1 Index]