remove_border: Remove borders

View source: R/depurate.R

remove_borderR Documentation

Remove borders

Description

Remove borders

Usage

remove_border(x, crs = NULL, buffer, poly_border = NULL)

Arguments

x

an sf points object

crs

coordinate reference system: integer with the EPSG code, or character with proj4string to convert coordinates if x has longitude/latitude data

buffer

numeric distance in meters to be removed. Negative values are recommended

poly_border

sf object with one polygon or NULL. Can be the result of concaveman::concaveman

Details

Removes all points from x that are buffer meters from boundary.


PPaccioretti/paar documentation built on Sept. 17, 2024, 1:21 p.m.