Retrieve all type of pairs for ordinal statistics

ord_pairs(x, y = NULL)

Arguments

x

Dependent variable. Alternatively a table.

y

Independent variable

Source

Internals for this function are copied from this gist by GitHub user Marc Schwartz.

Value

A 1x5 data.frame with numeric values.

Examples

ord_pairs(ngo$leistung, ngo$begabung)
#> nc nd tr tc total #> 1 13963 4498 5312 5196 31125