mapdeck
pointcloudcluster_deck.Rd
'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
)
an sf object
character; name of column or HTML text to render as a tooltip.
character; name of column or hex color used to fill points.
character; name of column with elevation values.
numeric; value in pixels of each point.
string or matrix; indicates a color palette.
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.
See (add_pointcloud
)
if (FALSE) {
cluster_deck(df,
tooltip = "cluster_grp", fill_colour = "cluster_grp",
elevation = NULL, radius = 10, palette = "viridis", legend = TRUE
)
}