Description Usage Arguments Value See Also Examples
This function calculates basic measures of association
1 | association.measures(x, y = NULL, warnings = FALSE)
|
x |
a table or matrix if |
y |
the column variable, a numeric vector used only when |
warnings |
a logical value indicating whether warnings should be shown (defaults to FALSE, no warnings). |
A list with the following elements is returned:
phi |
Phi, a chi-square-based measures of association. |
contingency_coefficient |
Contingency coefficient, a chi-square-based measures of association. |
cramersv |
Cramer's V, a chi-square-based measures of association. |
pairs_total |
Total number of pairs |
pairs_concordant |
Number of concordant pairs |
pairs_discordant |
Number of discordant pairs |
pairs_tied_first |
The number of pairs tied on the first variable (but not both variables) |
pairs_tied_second |
The number of pairs tied on the second variable (but not both variables) |
pairs_tied_both |
The number of pairs tied on both the first and second variables |
minimum_dim |
Minimum dimension of |
n |
Number of cases |
gamma |
Goodman-Kruskal Gamma |
somersd |
Somers' d (assuming the column variable is the dependent variable) |
taub |
Kendall's tau-b |
tauc |
Stuart's tau-c |
oii.xtab
, likelihood.test
, lambda.test
,
concordant.pairs
, discordant.pairs
, tied.pairs
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.