gridDistance {h3r} | R Documentation |
Grid Distance
Description
Provides the distance in grid cells between the two indexes.
Usage
gridDistance(origin, destination)
Arguments
origin |
vector of origin H3 cell indexes |
destination |
vector of destination H3 cell indexes |
Value
the grid distance between the two H3 cells
Examples
gridDistance(origin = c("85283473fffffff","85283473fffffff"),
destination = c("8528342bfffffff","85283477fffffff"))
[Package h3r version 0.1.1 Index]