nominal.dist | R Documentation |
Apply the discrete metric to two scores.
nominal.dist(x, y)
x |
a score. |
y |
a score. |
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.
0 if x
is equal to y
or if either is NA
, 1 otherwise.
interval.dist
, ratio.dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.