Description Usage Arguments Value Author(s) Examples
View source: R/fun_get_patch_data.R
The function atl_patch_summary
can be used to extract patch-specific
summary data such as the median coordinates, the patch duration, the distance
travelled within the patch, the displacement within the patch, and the patch
area.
1 | atl_patch_summary(patch_data, which_data = "summary", buffer_radius = 10)
|
patch_data |
A data.frame with a nested list column of the raw data underlying each patch. Since data.frames don't support nested columns, will actually be a data.table or similar extension. |
which_data |
Which data to return. May be the raw data underlying the patch ( |
buffer_radius |
Spatial buffer radius (in metres) around points when requesting sf based polygons. |
An object of type sf
or data.table
depending on
which data is requested.
Pratik R. Gupte
1 2 3 4 5 6 7 8 | ## Not run:
patch_summary <- atl_patch_summary(
patch_data = patches,
which_data = "summary",
buffer_radius = 10
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.