distances: Calculating distances between two sets of points

Description Usage Arguments Value Examples

Description

Calculates pairwise distances between two sets of points.

Usage

1
distances(a, b)

Arguments

a

matrix containing a set of coordinates.

b

matrix containing another set of coordinates.

Value

A matrix with pairwise distances between the two sets of points.

Examples

1
dists <- distances(example$traps, example$mask)

b-steve/admbsecr documentation built on May 11, 2019, 5:20 p.m.