discordant.pairs: The number of discordant pairs in a table or matrix
Description
The number of discordant pairs in a table or matrix
Usage
discordant.pairs(x, y = NULL)
Arguments
x
a table or matrix if y
is NULL, or a numeric vector for the row variable
y
the column variable, a numeric vector used only when x
is not a table or matrix.
Value
The number of discordant pairs