'cluster_deck' is a convenience function to create a pointcloud map to visualize clustered coordinates.

cluster_deck(
  df,
  tooltip = "sp_temporal_cluster",
  fill_colour = "sp_temporal_cluster",
  elevation = NULL,
  radius = 10,
  palette = "viridis",
  legend = TRUE
)

Arguments

df

an sf object

tooltip

character; name of column or HTML text to render as a tooltip.

fill_colour

character; name of column or hex color used to fill points.

elevation

character; name of column with elevation values.

radius

numeric; value in pixels of each point.

palette

string or matrix; indicates a color palette.

legend

logical; either a logical indicating if the legend should be displayed, or a named list indicating which color attributes should be included in the legend.

Details

See (add_pointcloud)

Examples

if (FALSE) {

cluster_deck(df,
  tooltip = "cluster_grp", fill_colour = "cluster_grp",
  elevation = NULL, radius = 10, palette = "viridis", legend = TRUE
)
}