powered by
This function returns the average area of an H3 cell at a given resolution.
res_area(res = NULL, units = c("m2", "km2"), fast = TRUE)
Numeric; average H3 cell area.
Integer; Desired H3 resolution. See https://h3geo.org/docs/core-library/restable/ for allowable values and related dimensions.
Areal unit to report in. Options are square meters or square kilometers.
Logical; whether to retrieve values from a locally stored table or reclaculate from source.
# Return average H3 cell area at each resolution in square meters res_area(res = seq(0, 15), units = 'm2')
Run the code above in your browser using DataLab