Skip to contents

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

Usage

plot_tag_pressure(tag, plot_plotly = TRUE, warning_pressure_diff = 3)

Arguments

tag

a GeoPressureR tag object.

plot_plotly

logical to use plotly.

warning_pressure_diff

Threshold of pressure hourly difference marking as warning (hPa).

Value

a plot or ggplotly object.

Examples

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

plot_tag_pressure(tag, plot_plotly = FALSE)


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

plot_tag_pressure(tag)