H3 resolution controls hexagon size: lower numbers create larger hexagons for regional patterns, higher numbers create smaller hexagons for neighborhood-level detail.
Below we show the same municipality (São Paulo - SP) at different resolutions. Notice how finer resolutions reveal spatial patterns that are smoothed out at coarser scales.
The base function used in this example is the following, with
res(resolution) being from 1 to 9.
library(cnefetools)
tracts_to_h3(
code_muni = 3550308,
h3_resolution = res
)