ratio.dist | R Documentation |
Apply a ratio distance function to two scores.
ratio.dist(x, y)
x |
a score. |
y |
a score. |
This function applies a ratio distance function to two scores. This may be an appropriate distance function for the ratio level of measurement. NA
's are handled gracefully.
(x-y)^2/(x+y)^2, or 0 if x
or y
is NA
.
interval.dist
, nominal.dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.