adjacent attempts to find the point(s) adjacent
(closest) to each point. The data are implicitly assumed
to be on a grid, otherwise this function isn't very
useful. Distances between each point and other points in
coords are computed and then rounded using the
round function. Let
the minimum distance between a reference point and all
other points. A point is adjacent to the reference point
if (after rounding), it's distance from the reference
point matches the minimum distance
A two-dimensional matrix-like object with non-NULL dimensions.
A logical value indicating whether Great
Circle distances should be used (
The number of digits to use when applying
digits is the number of digits used by
round in the rounding process.
hero_adjacent object. This is simply a
list with elements
nbrs is a list specifying the adjacent points
for each point.
coords is simply the original
coords supplied to the function and is retained
for plotting purposes.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.