Description Usage Arguments Value Examples
View source: R/myq_euclidean.R
Function to calculate euclidean distance between two vectors.
1 | myq_euclidean(zm, point = c(1, 2, 1))
|
zm |
Input matrix of set of vectors. |
point |
Coordinates of the point to calculate distance to the input. |
Sum of the euclidean distance from point to set of vectors.
1 | sim.outer(n=1e3, d=3, q.outer=myq_euclidean, point=c(1,1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.