plotWMD: Plot Whistle Contour

View source: R/plotWMD.R

plotWMDR Documentation

Plot Whistle Contour

Description

Plots the entire whistle contour saved in a Pamguard Whistle & Moan Detector binary file, highlighting the selected contour

Usage

plotWMD(data, id = 1, ...)

Arguments

data

either a PamBinary class object, or just the $data from a PamBinary object, or a single detection from the $data

id

the id of the whistle to plot, either an index or Pamguard UID

...

parameters to pass to other functions

Value

A ggplot object

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples


# load example whistle file
wmFile <- system.file('extdata', 'WM.pgdf', package='PamBinaries')
wmData <- loadPamguardBinaryFile(wmFile)
plotWMD(wmData, 1)
plotWMD(wmData, 2)


PamBinaries documentation built on Feb. 16, 2023, 7:38 p.m.