remove.near: Remove spatial points based on proximity

View source: R/remove.near.R

remove.nearR Documentation

Remove spatial points based on proximity

Description

Removes points from pts that do not meet a user-specified proximity rule, i.e., tosses out points that are within some specified distance of another point in pts. Note, this function is not necessarily optimized, meaning it may be possible to remove points in a different order that would result in fewer points having to be removed.

Usage

remove.near(pts, dist)

Arguments

pts

SpatialPointsDataFrame, the input points to thin based on proximity.

dist

Scalar, the minimum distance features in pts can be from each other. Unit is meters for projected coordinate systems.

Value

A SpatialPointsDataFrame with equal or fewer features than pts.

Author(s)

Shannon E. Albeke and Jason D. Carlisle, University of Wyoming


jcarlis3/ecoinfo documentation built on Sept. 9, 2023, 1:46 p.m.