Skip to contents

This function display a plot of the acceleration time series recorded by a tag

Usage

plot_tag_actogram(tag, twl_offset = NULL, plot_plotly = FALSE)

Arguments

tag

a GeoPressureR tag object

twl_offset

Shift of the middle of the night compared to 00:00 UTC (in hours). If not provided, it uses the middle of all nights.

plot_plotly

logical to use plotly

Value

a plot object.

Examples

withr::with_dir(system.file("extdata", package = "GeoPressureR"), {
  tag <- tag_create("18LX", quiet = TRUE)

  plot_tag_actogram(tag, plot_plotly = TRUE)
})