addFunction | R Documentation |
Adds a new function to the "function" slot in a PAMpalSettings object. Must be run interactively, user will be prompted to assign values for any parameters in the function to be added
addFunction(pps, fun, module = NULL, verbose = TRUE, ...)
pps |
a PAMpalSettings object to add a function to |
fun |
function to add OR another PAMpalSettings object.
In this case all functions from the second object will be added to |
module |
Pamguard module output this function should act on, one of
ClickDetector, WhistlesMoans, Cepstrum, or GPLDetector. If |
verbose |
logical flag to show messages |
... |
named arguments to pass to function being added |
the same PAMpalSettings object as pps, with the function
fun
added to the "functions" slot
Taiki Sakai taiki.sakai@noaa.gov
# not recommended to create a pps like this, for example only
pps <- new('PAMpalSettings')
if(interactive()) pps <- addFunction(pps, standardClickCalcs)
pps <- addFunction(pps, roccaWhistleCalcs, module='WhistlesMoans')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.