edm | R Documentation |
edm
returns the euclidean distances between points 1 -> n
of
two 2-col matrices of the same dimension. This function is used internally
but may be of interest for other analyses.
edm(m1, m2)
m1 |
The first |
m2 |
The second |
If one wishes to align two (or more shapes) Procrustes surimposition may provide a better solution.
Returns a vector
of euclidean distances between pairwise
coordinates in the two matrices.
ed, edm_nearest, dist.
x <- matrix(1:10, nc=2)
edm(x, x)
edm(x, x+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.