Very simple wrapper for DescTools::SomersDelta.
ord_somers_d(x, y = NULL, symmetric = FALSE, reverse = FALSE)
Dependent variable. Alternatively a table.
table
Independent variable
If TRUE, symmetric D is returned. Default is FALSE.
TRUE
FALSE
If TRUE, row and column variable are switched. Default is FALSE, meaning the row variable is considered dependant.
numeric value
numeric
# NOT RUN { ord_somers_d(ngo$abschalt, ngo$geschl) # }
Run the code above in your browser using DataLab