Skip to contents

Returns the child cell at a given position within an ordered list of all children of parent at the specified resolution childRes.

Usage

childPosToCell(childPos, cell, childRes)

Arguments

childPos

the position of the child cell

cell

vector of H3 cells

childRes

integer vector specifying the child resolution for each cell

Value

the position of the child cell

Examples


childPosToCell(
  childPos = c(42, 41)
  , cell = c("85283473fffffff","85283473fffffff")
  , childRes = c(7L, 7L)
)
#> [1] "872834730ffffff" "87283472effffff"