Description Usage Arguments Details Value
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 |
This function does not modify in place, i.e., the results need to be assigned to a new data.table.
A data frame of tracking locations with attractor points removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.