vecdist: Vector of reciprocal distances

Description Usage Arguments Details

Description

If there is a custom definicion of distances, it uses it. Otherwise, it computes the reciprocal distances of points in x.

Usage

1

Arguments

x

a data.frame with planar coordinates

Details

If there exists a matrix object named .personal.definition.of.distances in the global environment, the function returns the lower triangular part of it as a vector, regardless of x. Otherwise, the Euclidean distances between points in x are returned as a vector.


famuvie/geoRcb documentation built on May 16, 2019, 10:04 a.m.