# Generate Bounding Circle Radius for Walking Bouts

Source:`R/process_bouts_and_gps_epochs_into_walkbouts.R`

`generate_bout_radius.Rd`

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.

## Arguments

- 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.