GK_assoc: Computes Goodman and Kruskal's tau

View source: R/descriptive.R

GK_assocR Documentation

Computes Goodman and Kruskal's tau

Description

Returns Goodman and Kruskal's tau measure of association between two categorical variables

Usage

GK_assoc(x, y)

Arguments

x

A categorical variable

y

A categorical variable

Value

Goodman and Kruskal's tau

Examples

data(infert)
GK_assoc(infert$education, infert$case)
GK_assoc(infert$case, infert$education) #Not the same

clickR documentation built on Aug. 8, 2023, 1:11 a.m.