get the pentagon indices for an H3 resolution
This function returns the indices of all pentagons occurring at a given H3 resolution.
get_pentagons(res = NULL, simple = TRUE)
res |
Integer; Desired H3 resolution. See https://h3geo.org/docs/core-library/restable/ for allowable values and related dimensions. |
simple |
Logical; whether to return outputs as list of outputs (TRUE) or data frame with both inputs and outputs. |
By default, a list of length(h3_address). Each list element contains a vector of twelve H3 addresses. If simple = FALSE, a data frame with a column of input resolutions and a list-column of pentagon indexes for each.
# Which indexes are pentagons at resolution 7? get_pentagons(res = 7)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.