powered by
Euclidian distance in one or more dimensions.
euclid(a, b, na.rm = FALSE)
Numeric.
Numeric vector.
Numeric vector of same length as a.
a
Logical. If TRUE, calculation ignores NA's in a and/or b.
TRUE
NA
b
euclid(0, 5) euclid(c(0, 0), c(1, 1)) euclid(c(0, 0, 0), c(1, 1, 1))
Run the code above in your browser using DataLab