distances: Calculating distances between two sets of points

Description Usage Arguments Value Examples

View source: R/RcppExports.R

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)

admbsecr documentation built on May 31, 2017, 3:18 a.m.