Description Usage Arguments Value
Create a basic sweep function
1 |
df |
the data frame containing coordinates |
xcol |
the name of the column containing the x coordinate |
ycol |
the name of the column containing the y 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 function with two arguments
The function to use to calculate distance between points
Whether or not xcol and ycol are latlons, and need to be transformed to coordinate projection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.