plot_tag_acceleration: Plot acceleration data of a 'tag'

View source: R/plot.tag.R

plot_tag_accelerationR Documentation

Plot acceleration data of a tag

Description

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

Usage

plot_tag_acceleration(
  tag,
  variable = "activity",
  plot_plotly = TRUE,
  label_auto = TRUE,
  min_duration = 30
)

Arguments

tag

a GeoPressureR tag object

variable

type of acceleration variable to plot "activity" (or "value") or "pitch"

plot_plotly

logical to use plotly

label_auto

logical to compute and plot the flight label using tag_label_auto(). Only if labels are not already present on tag$acceleration$label

min_duration

Minimal duration (in minutes) to consider a high activity as migratory flight.

Value

a plot or ggplotly object.

See Also

Other plot_tag: plot_tag_light(), plot_tag_pressure(), plot_tag_temperature(), plot_tag_twilight()

Examples

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

plot_tag_acceleration(tag)


Rafnuss/GeoPressureR documentation built on April 17, 2025, 12:58 p.m.