k_ring_distances | R Documentation |
Get all hexagons in a k-ring around a given center ordered by distance from the origin.
k_ring_distances(h3_index, radius = 1)
h3_index |
character vector of H3 indexes |
radius |
number of rings around the given center |
tibble with 2 variables: h3_index
and distance
The order of the hexagons within each ring is undefined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.