cell_to_children_size {h3jsr} | R Documentation |
Cell to children size
Description
Get the number of children for a cell at a given resolution.
Usage
cell_to_children_size(h3_address = NULL, child_res = NULL, simple = TRUE)
Arguments
h3_address |
Character; 15-character index generated by H3. |
child_res |
numeric; child resolution to report on. |
simple |
Logical; whether to return a vector or a data frame containing both inputs and outputs. |
Value
numeric; number of children at the requested resolution
Examples
# example address has resolution 7:
cell_to_children_size('872830b82ffffff', c(8,9,10,11), simple = FALSE)
[Package h3jsr version 1.3.1 Index]