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.
Arguments
- 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 (
which_data = "points"
), or a spatial features (sf-MULTIPOLYGON
) object with patch covariates (which_data = "spatial"
), or a data.table of the patch covariates without the geometry column (which_data = "summary"
).- buffer_radius
Spatial buffer radius (in metres) around points when requesting sf based polygons.