Computes the matrix of distances between all pairs of `things' in a dataset
Object specifying the locations of a set of `things' (such as a set of points or a set of line segments).
Further arguments depending on the method.
A square matrix whose
[i,j] entry is the distance
between the `things' numbered
Given a dataset
(representing either a point pattern or
a line segment pattern)
pairdist computes the distance between each pair of
`things' in the dataset, and returns
a matrix containing these distances.
pairdist is generic, with
methods for point patterns (objects of class
line segment patterns (objects of class
and a default method. See the documentation
pairdist.default for details.