Learn R Programming

h3r (version 0.1.2)

cellToLocalIj: Cell to Local IJ

Description

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

Usage

cellToLocalIj(origin, cell)

Value

(i, j) coordinates

Arguments

origin

vector of anchor cell

cell

vector of cell you input

Examples

Run this code

cellToLocalIj(
  origin = c("85283473fffffff","85283473fffffff")
  , cell = c("8528342bfffffff","85283477fffffff")
 )

Run the code above in your browser using DataLab