discrete.dist {goweragreement}R Documentation

Apply the discrete metric to two scores.

Description

Apply the discrete metric to two scores.

Usage

discrete.dist(x, y)

Arguments

x

a score.

y

a score.

Details

This function applies the discrete metric to two scores. This is an appropriate distance function for nominal data.

Value

0 if x is equal to y, 1 if x is not equal to y, NA if either score is NA.

See Also

L1.dist


[Package goweragreement version 1.0 Index]