Skip to contents

Create a Leaflet map with cluster hulls and points

Usage

leaflet_map(cluster_hulls, df, df_null)

Arguments

cluster_hulls

A list of data frames, each containing the convex hull for a cluster

df

Data frame containing clustered points with columns LONG, LAT, cluster

df_null

Data frame containing unclustered points with columns LONG, LAT, ID

Value

A leaflet map object