Computes (Cross-) Distances
own_dist(x, y = NULL, taper = NULL, ...)(matrix) Matrix containing locations
(NULL or matrix) If NULL, computes the
distances between x. Otherwise, computes cross-distances, i.e.,
pair-wise distances between rows of x and y.
(NULL or numeric(1)) If NULL, all
distances are considered. Otherwise, only distances shorter than
taper are used. Hence the output will be a sparse matrix of type
spam.
Further arguments for either dist or
nearest.dist.
A matrix or spam object.