Learn R Programming

cholera (version 0.7.9)

withinRadius: Test whether point "b" is within a given radius of point "a".

Description

Test whether point "b" is within a given radius of point "a".

Usage

withinRadius(a, b, radius = 2)

Arguments

a

Numeric. Data frame of x-y coordinates.

b

Numeric. Data frame of x-y coordinates.

radius

Numeric.