cellToChildPos {h3r} | R Documentation |
Returns the position of the child cell within an ordered list of all children of the cell's parent at the specified resolution parentRes.
Description
Returns the position of the child cell within an ordered list of all children of the cell's parent at the specified resolution parentRes.
Usage
cellToChildPos(cell, parentRes)
Arguments
cell |
vector of H3 cells |
parentRes |
integer vector specifying the parent resolution for
each |
Value
the position of the child cell
Examples
cellToChildPos(
cell = c("8cbe63562a54bff","8cbe635631103ff")
, parentRes = c(1L, 2L)
)
[Package h3r version 0.1.1 Index]