Learn R Programming

h3r (version 0.1.2)

cellsToDirectedEdge: Cells to directed edge

Description

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

Usage

cellsToDirectedEdge(origin, destination)

Value

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

Arguments

origin

vector of origin H3 cell indexes

destination

vector of destination H3 cell indexes

Examples

Run this code

cellsToDirectedEdge(
  origin = c("85283471fffffff","85283473fffffff")
  , destination = c("85283475fffffff","85283477fffffff")
 )

Run the code above in your browser using DataLab