.planedist2 | R Documentation |
Calculate a matrix of Euclidean distances between points
.planedist2(p1, p2)
p1 |
A coordinate matrix. |
p2 |
A coordinate matrix. |
This function assumes that coordinates are in planar space.
This function is an internal function in the raster
package (https://rdrr.io/rforge/raster/src/R/pointdistance.R). It is defined separately in flapper
for stability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.