nominal.dist {krippendorffsalpha}R Documentation

Apply the discrete metric to two scores.

Description

Apply the discrete metric to two scores.

Usage

nominal.dist(x, y)

Arguments

x

a score.

y

a score.

Details

This function applies the discrete metric to two scores. This may be an appropriate distance function for the nominal level of measurement. NA's are handled gracefully.

Value

0 if x is equal to y or if either is NA, 1 otherwise.

See Also

interval.dist, ratio.dist


[Package krippendorffsalpha version 2.0 Index]