Description Usage Arguments Value Author(s) Examples
View source: R/fun_filter_by_bounds.R
Filters out positions lying inside or outside an area.
The area can be defined in two ways, either by its X and Y coordinate
ranges, or by an sf-*POLYGON
object.
MULTIPOLYGON
objects are supported by the internal function
atl_within_polygon
.
1 2 3 4 5 6 7 8 9 |
data |
A dataframe or extension which contains X and Y coordinates. |
x |
The X coordinate column. |
y |
The Y coordinate column. |
x_range |
The range of X coordinates. |
y_range |
The range of Y coordinates. |
sf_polygon |
|
remove_inside |
Whether to remove points from within the range.
Setting |
A data frame of tracking locations with attractor points removed.
Pratik R. Gupte
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.