ed | R Documentation |
ed
simply calculates euclidean distance between two points defined by
their (x; y) coordinates.
ed(pt1, pt2)
pt1 |
(x; y) coordinates of the first point. |
pt2 |
(x; y) coordinates of the second point. |
Returns the euclidean distance between the two points.
edm, edm_nearest, dist.
ed(c(0,1), c(1,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.