Learn R Programming

featureCorMatrix (version 0.4.0)

cv.test: Calculates Cramer's V Correlation Coefficient

Description

cv.test returns the Cramer's V correlation coefficient

Usage

cv.test(x, y)

Arguments

x

a vector (categorical or numerical values)

y

a vector (categorical or numerical values)

Value

Cramer's V

Details

The function calculates Cramer's V based on the results of an Chi-Square-Test of Independence between two categorical variables

Examples

Run this code
# NOT RUN {
cv.test(x = iris$Species, iris$Sepal.Length)
# }

Run the code above in your browser using DataLab