Skip to contents

Returns a unidirectional edge H3 index based on the provided origin and destination.

Usage

cellsToDirectedEdge(origin, destination)

Arguments

origin

vector of origin H3 cell indexes

destination

vector of destination H3 cell indexes

Value

a unidirectional edge H3 index based on the provided origin and destination.

Examples


cellsToDirectedEdge(
  origin = c("85283471fffffff","85283473fffffff")
  , destination = c("85283475fffffff","85283477fffffff")
 )
#> [1] "115283471fffffff" "115283473fffffff"