discordant.pairs {oii}R Documentation

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

See Also

association.measures, concordant.pairs, tied.pairs


[Package oii version 1.0.2.1 Index]