cell_to_children_size: Cell to children size

View source: R/core_api.R

cell_to_children_sizeR 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)

obrl-soil/h3jsr documentation built on Jan. 27, 2024, 4:33 a.m.