Learn R Programming

PamBinaries (version 1.9.3)

plotWMD: 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, ...)

Value

A ggplot object

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

Author

Taiki Sakai taiki.sakai@noaa.gov

Examples

Run this code

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

Run the code above in your browser using DataLab