The number of tied pairs, a measure of association
tied.pairs(x, y = NULL)
a table or matrix if y
is NULL, or a numeric vector for the first variable
the second variable, a numeric vector used only when x
is not a table or matrix.
A list with the following values:
The number of pairs tied on the first variable, but not both variables
The number of pairs tied on the second variable, but not both variables
The number of pairs tied on both the first and second variables