hotspot_clip: Extract points inside polygon

View source: R/hotspot_clip.R

hotspot_clipR Documentation

Extract points inside polygon

Description

Extract points inside polygon

Usage

hotspot_clip(data, boundary, quiet = FALSE, ...)

Arguments

data

sf data frame containing points.

boundary

sf data frame containing polygons.

quiet

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.

Details

This function is a wrapper around st_intersection that performs some additional checks and reports useful information.

Value

an SF data frame containing those points that are covered by the polygons.


sfhotspot documentation built on Aug. 8, 2025, 7:26 p.m.