Description Usage Arguments Value
Perform the angular sweep algorithm on a data frame of coordinates
1 | sweep_latlons(df, lon, lat, weight = NULL, radius, inc_data = FALSE)
|
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 |
a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.