tadaatoolbox (version 0.16.0)

ord_somers_d: Somers' D

Description

Very simple wrapper for DescTools::SomersDelta.

Usage

ord_somers_d(x, y = NULL, symmetric = FALSE, reverse = FALSE)

Arguments

x

Dependent variable. Alternatively a table.

y

Independent variable

symmetric

If TRUE, symmetric D is returned. Default is FALSE.

reverse

If TRUE, row and column variable are switched. Default is FALSE, meaning the row variable is considered dependant.

Value

numeric value

Examples

Run this code
# NOT RUN {
ord_somers_d(ngo$abschalt, ngo$geschl)
# }

Run the code above in your browser using DataLab