cellsToDirectedEdge {h3r}R Documentation

Cells to directed edge

Description

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")
 )


[Package h3r version 0.1.1 Index]