Skip to contents

This function generates a plot of accelerometry counts and GPS radius for a specific bout.

Usage

generate_bout_plot(
  accelerometry_counts,
  gps_data,
  bout_number,
  leading_minutes = 8,
  trailing_minutes = 12,
  gps_target_size = 0.25,
  ...,
  collated_arguments = NULL
)

Arguments

accelerometry_counts

A data frame or tibble containing accelerometry counts.

gps_data

A data frame or tibble containing GPS data.

bout_number

The number of the bout to be plotted.

leading_minutes

number of minutes before a bout starts that we want to plot

trailing_minutes

number of minutes after a bout ends that we want to plot

gps_target_size

proportional size of circle plot

...

Additional arguments to be passed to the function

collated_arguments

A list of collated arguments

Value

A ggplot object representing the bout plot.