You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\title{Calculate a matrix of Euclidean distances between points}
\source{
This function is an internal function in the \code{\link[raster]{raster}} package (https://rdrr.io/rforge/raster/src/R/pointdistance.R). It is defined separately in \code{\link[flapper]{flapper}} for stability.
}
\usage{
.planedist2(p1, p2)
}
\arguments{
\item{p1}{A coordinate matrix.}
\item{p2}{A coordinate matrix.}
}
\description{
Calculate a matrix of Euclidean distances between points
}
\details{
This function assumes that coordinates are in planar space.