hex_fill | R Documentation |
Find most frequent occurrences in the neighbors and fill in the missing hexagon
hex_fill(
.data,
ids,
var,
h3var = "h3",
radius_max = 3,
mode = c("same", "progressive")
)
.data |
data with h3 columm |
ids |
h3 ids to find |
var |
variable to fill |
h3var |
name of the h3 column |
radius_max |
maximum of radius of hexagons to find |
mode |
use the same number of neighbours (same) or only increase neighbors in those hexagon with missing data at the smaller radius (progressive) |
progressive maximum the local influences while the other treats all missing hexagon the same.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.