getBinaryData {PAMpal} | R Documentation |
Get Raw Binary Data for Detections
Description
Fetches matching binary data from a single or multiple detections in an AcousticEvent object
Usage
getBinaryData(
x,
UID,
type = c("click", "whistle", "cepstrum", "gpl"),
quiet = FALSE,
...
)
Arguments
x |
a AcousticStudy object, a list of AcousticEvent objects, or a single AcousticEvent object |
UID |
the UID(s) of the individual detections to fetch the binary data for |
type |
detection type |
quiet |
logical flag to quiet some warnings, used internally and should generally
not be changed from default |
... |
additional arguments to pass to
|
Value
a list of PamBinary
objects for each UID
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
data(exStudy)
binData <- getBinaryData(exStudy, UID = 8000003)
# works with multiple UIDs, if UIDs arent present they will be ignored
binData <- getBinaryData(exStudy, UID = c(8000003, 529000024, 1))
[Package PAMpal version 1.2.1 Index]