areNeighborCells {h3r} | R Documentation |
Are neighbor cells
Description
Returns whether or not the provided H3 cell indexes are neighbors
Usage
areNeighborCells(origin, destination)
Arguments
origin |
vector of origin H3 cell indexes |
destination |
vector of destination H3 cell indexes |
Value
1 if the indexes are neighbors, 0 otherwise.
Examples
areNeighborCells(
origin = c("85283473fffffff","85283473fffffff")
, destination = c("85283471fffffff","85283477fffffff")
)
[Package h3r version 0.1.1 Index]