gridDistance | R Documentation |
Provides the distance in grid cells between the two indexes.
gridDistance(origin, destination)
origin |
vector of origin H3 cell indexes |
destination |
vector of destination H3 cell indexes |
the grid distance between the two H3 cells
gridDistance(origin = c("85283473fffffff","85283473fffffff"),
destination = c("8528342bfffffff","85283477fffffff"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.