sweep_latlons: Perform the angular sweep algorithm on a data frame of...

Description Usage Arguments Value

View source: R/sweep.R

Description

Perform the angular sweep algorithm on a data frame of coordinates

Usage

1
sweep_latlons(df, lon, lat, weight = NULL, radius, inc_data = FALSE)

Arguments

df

the data frame containing coordinates

lon

the name of the column containing the longitude coordinate

lat

the name of the column containing the latitude coordinate

weight

name of column containing data with which to weight the points

radius

the radius of the circle to sweep with (in metres)

inc_data

logical. Whether or not to include the original data alongside the indices of the points included in each circle

Value

a data frame


gtm19/angularsweep documentation built on July 27, 2020, 2 p.m.