Learn R Programming

h3r (version 0.1.2)

localIjToCell: Local IJ To Cell

Description

Produces an H3 index from local IJ coordinates anchored by an origin.

Usage

localIjToCell(origin, i, j)

Value

cell vector of H3 cells

Arguments

origin

vector of anchor cell

i

vector of local I coordinate

j

vector of local I coordinate

Examples

Run this code

localIjToCell(
  origin = c("85283473fffffff","85283473fffffff")
  , i = c(1L, 2L)
  , j = c(2L, 1L)
 )

Run the code above in your browser using DataLab