catCorr: catCorr

Description Usage Arguments Value

Description

Produce metrics of correlation among categorical variables.

Usage

1
catCorr(x = NULL, y = NULL, bias_correction = TRUE, type = "both")

Arguments

x

Either a vector or data.frame to analyze.

y

If x is a vector, the y is the vector to compare it to.

bias_correction

Logical, if TRUE (default), use the bias correction in Cramer's V

type

Which statistics to produce. Options are 'tschuprow', 'tschu', 't' for Tschuprow's T statistic, 'cramer', 'c', 'v' for Cramer's V statistic and p-values, and 'both' or 'b' for both options.

Value

Cramer's V (cramer_V), Tschuprow's T (tschu_T), and/or p-value(s) (pval).


TimothyKBook/catcorr documentation built on May 9, 2019, 4:48 p.m.