A wrapper for the appropriate functions from DescTools to calculate Tau A, B and C.

ord_tau(x, y = NULL, tau = "b", reverse = FALSE)

Arguments

x

Dependent variable. Alternatively a table.

y

Independent variable

tau

Which of the Taus to return. Default is "b".

reverse

If TRUE, row and column variable are switched.

Value

numeric value

Examples

ord_tau(ngo$urteil, ngo$leistung, tau = "a")
#> [1] 0.3855743