Description Usage Arguments Value Examples
This function calculates the Somer's D measure of association statistic. This function makes use of the svytable function from the survey package.
1 |
formula |
A formula in the form ~ indepvar + depvar |
data |
A design dataset (e.g. gssD, nesD, statesD, or worldD) |
Return Somer's D measure of association statistic, a number between 0 and 1.
1 2 3 |
Somers'dyx:
[1] -0.02905914
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.