gammaGK: Estimate the Goodman and Kruskal gamma statistic

Description Usage Arguments Value Note Author(s) References

View source: R/helpers.R

Description

Estimate the correlation between two unordered factor variables using the Goodman and Kruskal gamma statistic

Usage

1
gammaGK(x, y = NULL, print = FALSE)

Arguments

x

an unordered factor variable

y

an unordered factor variable

print

a logical vector indicating whether results should be printed to the console

Value

A named list with gamma, standard error of gamma, p-value of gamma, and statistical significance

Note

Yadda yadda yadda

Author(s)

Jared E. Knowles

References

Adapted from Simon Jackman from: http://jackman.stanford.edu/classes/151B/06/class0517.r


jknowles/datasynthR documentation built on May 19, 2019, 11:42 a.m.