euclid | R Documentation |
Euclidian distance in one or more dimensions.
euclid(a, b, na.rm = FALSE)
a |
Numeric vector. |
b |
Numeric vector of same length as |
na.rm |
Logical. If |
Numeric.
euclid(0, 5)
euclid(c(0, 0), c(1, 1))
euclid(c(0, 0, 0), c(1, 1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.