filter_pts: Filter Points to a Region

View source: R/filter_pts.R

filter_ptsR Documentation

Filter Points to a Region

Description

Filter Points to a Region

Usage

filter_pts(pts, shp, cond = TRUE)

Arguments

pts

points with sf geometry to filter

shp

shp to filter to

cond

geometry subset to reduce shp to

Value

tibble with sf geometries

Examples

data(suffolk)
pts <- dots_points(suffolk, pop, divisor = 1000)
filter_pts(pts, suffolk, pop < 1000)

dots documentation built on July 15, 2022, 9:05 a.m.