| .spatial_plan | R Documentation |
Spatial planning: map points to representative locations
.spatial_plan(
x,
spatial_mode = c("cluster", "exact", "by_group"),
lat_col = "lat",
lon_col = "lon",
group_col = NULL,
rep_method = c("median", "centroid"),
cluster_radius_m = 250,
keep_diag = TRUE,
check_range = TRUE,
coord_digits = 5L
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.