View source: R/mapping_functions.R
| map_clusters_ggplot | R Documentation |
Internal helper used by map_clusters() when engine = "ggplot".
The function takes prepared map data from prepare_map_data() and
returns a static ggplot2 map. Locations are drawn from the merged sf
object, with clustered locations filled according to their cluster center.
map_clusters_ggplot(
md,
label = c("none", "cluster_centers", "cluster_locations", "all")
)
md |
named list as returned by |
label |
choice for labeling (defaults to "none") |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.