VTcoeffs function

Effect sizes of association between categorical variables

Effect sizes of association between categorical variables

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).

Returns

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
  • Maintainer: ORPHANED
  • License: GPL (>= 2)
  • Last published: 2023-02-05

Useful links