Extract points inside polygon
hotspot_clip(data, boundary, quiet = FALSE, ...)an SF data frame containing those points that are covered by the polygons.
sf data frame containing points.
sf data frame containing polygons.
if set to TRUE, messages reporting the values of any
parameters set automatically will be suppressed. The default is
FALSE.
Further arguments passed to st_intersection.
This function is a wrapper around st_intersection that
performs some additional checks and reports useful information.