Description Usage Arguments Details Value Examples
Extracts all requested association coefficients as two dimensional table. Possible names are:
1 | association(ct, ...)
|
ct |
contingency table object |
... |
list: coefficients in the table |
chisq
Chi square value
C
Contingency value
CC
Corrected c ontingency value
V
Cramers V or phi
lambda.cr
Goodman and Kruskal lambda, column dependent
lambda.rc
Goodman and Kruskal lambda, row dependent
lambda.sym
Goodman and Kruskal lambda, symmetric
gkt.cr
Goodman and Kruskal tau, column dependent
gkt.rc
Goodman and Kruskal tau, row dependent
theil.cr
Uncertainty coefficient/Theil's U, column dependent
theil.rc
Uncertainty coefficient/Theil's U, row dependent
theil.sym
Uncertainty coefficient/Theil's U, symmetric
chisquare
All four chi square based coefficients
lambda
All three Goodman and Kruskal lambdas
gkt
Both Goodman and Kruskal taus
theil
All three uncertainty coefficients/Theil's U
a two dimensional table
1 2 3 | ct <- contingencyTable(HairEyeColor[,,"Female"])
association(ct, chisq=TRUE)
association(ct, chisquare=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.