powered by
Provides the distance in grid cells between the two indexes.
gridDistance(origin, destination)
the grid distance between the two H3 cells
vector of origin H3 cell indexes
vector of destination H3 cell indexes
gridDistance(origin = c("85283473fffffff","85283473fffffff"), destination = c("8528342bfffffff","85283477fffffff"))
Run the code above in your browser using DataLab