cramer {dlookr}R Documentation

Cramer's V statistic

Description

Computes the Cramer's V statistic and Chisquare p value between two categorical variables in data.frame.

Usage

cramer(dfm, x, y)

Arguments

dfm

data.frame. probability distributions.

x

character. name of categorical or discrete variable.

y

character. name of another categorical or discrete variable.

Value

data.frame. It has the following variables.:

See Also

theil.

Examples

cramer(mtcars, "gear", "carb")


[Package dlookr version 0.6.3 Index]