View source: R/process_bouts_and_gps_epochs_into_walkbouts.R
generate_bout_radius | R Documentation |
This function generates a bounding circle radius for each walking bout identified in the input data. The bounding circle is defined as the smallest circle that fully contains all GPS locations observed during a walking bout.
generate_bout_radius(walk_bouts, dwellbout_radii_quantile)
walk_bouts |
A data frame containing GPS locations for each walking bout, with columns "longitude", "latitude", and "bout" (a unique identifier for each bout) |
dwellbout_radii_quantile |
A quantile (between 0 and 1) used to filter outlying GPS data points before generating the bounding circle. GPS points with a distance from the center greater than the radius of the circle that contains (1 - dwellbout_radii_quantile) of the GPS points are considered outliers and are excluded. |
A data frame containing the bout identifier and the radius of the bounding circle for each walking bout.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.