interval.dist {krippendorffsalpha} | R Documentation |
Compute the squared difference between two scores.
interval.dist(x, y)
x |
a score. |
y |
a score. |
This function computes the squared difference between two scores. This may be an appropriate distance function for the interval level of measurement. NA
's are handled gracefully.
(x-y)^2
, or 0 if x
or y
is NA
.