Description Usage Arguments Details Value Author(s) See Also Examples
These functions are used to carry out template dection for multiple template and survey files in a single call.
These functions make it easy to analyze multiple survey files in a single call. They call corMatch
or binMatch
, followed by findPeaks
and getDetections
to do the work.
1 2 3 4 5 6 7 | batchCorMatch(dir.template, dir.survey = ".", ext.template = "ct", ext.survey = "wav",
templates, parallel = FALSE, show.prog = FALSE, cor.method = "pearson", warn = TRUE,
time.source = "filename", fd.rat = 1, ...)
batchBinMatch(dir.template, dir.survey = ".", ext.template = "bt", ext.survey = "wav",
templates, parallel = FALSE, show.prog = FALSE, warn = TRUE,
time.source = "filename", fd.rat = 1, ...)
|
dir.template |
A file path to a directory that contains template files to be used.
Only used if |
dir.survey |
A file path to a directory that contains survey files to be analyzed. |
ext.template |
Extension of the template files. |
ext.survey |
Extension of the survey files. |
templates |
A template list–a |
parallel |
If |
show.prog |
If |
cor.method |
For |
warn |
Set to |
time.source |
The source of date and time information.
|
fd.rat |
A ratio of frame width (twice minimum peak separation) to template duration.
Used by |
... |
Additional arguments to the |
These functions are simple but do not provide flexibility in how results are handled.
Manually writing a for
loop is a more flexible solution.
A data frame of detections, as returned by getDetections
.
Sasha D. Hafner
corMatch
,
binMatch
,
findPeaks
,
getDetections
1 2 3 4 5 6 7 8 9 | ## Not run:
# Assume multiple survey files are in the subdirectory "Surveys" and templates
# are in subdirectory "Templates"
detects <- batchCorMatch("Templates", "Surveys")
# Or, to use an existing template list instead
detects <- batchCorMatch(templates = ctemps, dir.survey = "Surveys")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.