cramersVmod: Cramer's V modified pairwise vector function based on the...

View source: R/DistanceFuns.R

cramersVmodR Documentation

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)

Arguments

x

vector of size n

y

vector of size n

Value

numerical value


DiscreteGapStatistic documentation built on April 3, 2025, 9:22 p.m.