Description Usage Arguments Details Value Author(s)
Compute distance threshold
1 | within.distance(x, y, distance = 1, units = "miles")
|
x |
Two-column matrix of latitude/longitude coordinates. |
y |
Two-column matrix of latitude/longitude coordinates. |
distance |
Vector of thresholds for whether points in y are close to points in x. |
units |
The unit of measurement that distance is in. |
Compute how many points in y fall within a certain distance of x.
Matrix with nrows=nrow(x) and ncols=length(distance)
Jared P. Lander
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.