Learn R Programming

DiscreteGapStatistic (version 1.1.2)

cramersVmod: Cramer's V modified pairwise vector function based on the function found in lsr package

Description

This is simple wrapper of the usual chisq.test function. This is actually an adjusted version of the pi = sqrt(Chisq2/N) guaranteeing that values are within 0 (no association) and 1 (association)

Usage

cramersVmod(x, y)

Value

numerical value

Arguments

x

vector of size n

y

vector of size n