tied.pairs {oii}R Documentation

The number of tied pairs, a measure of association

Description

The number of tied pairs, a measure of association

Usage

tied.pairs(x, y = NULL)

Arguments

x

a table or matrix if y is NULL, or a numeric vector for the first variable

y

the second variable, a numeric vector used only when x is not a table or matrix.

Value

A list with the following values:

first

The number of pairs tied on the first variable, but not both variables

second

The number of pairs tied on the second variable, but not both variables

both

The number of pairs tied on both the first and second variables

See Also

association.measures, concordant.pairs, discordant.pairs


[Package oii version 1.0.2.1 Index]