GK_assoc | R Documentation |
Returns Goodman and Kruskal's tau measure of association between two categorical variables
GK_assoc(x, y)
x |
A categorical variable |
y |
A categorical variable |
Goodman and Kruskal's tau
data(infert)
GK_assoc(infert$education, infert$case)
GK_assoc(infert$case, infert$education) #Not the same
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.