Description Usage Arguments Value
View source: R/fun_filter_by_bounds.R
Detects which positions intersect a sfc_*POLYGON
. Tested
only for single polygon objects.
1 | atl_within_polygon(data, x = "x", y = "y", polygon)
|
data |
A dataframe or similar containg at least X and Y coordinates. |
x |
The name of the X coordinate, assumed by default to be "x". |
y |
The Y coordinate as above, default "y". |
polygon |
An |
Row numbers of positions which are inside the polygon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.