removeFunction: Remove a Function from a PAMrSettings Object

Description Usage Arguments Value Author(s)

View source: R/removeFunction.R

Description

Remove a function from the "function" slot in a PAMrSettings object.

Usage

1

Arguments

prs

a PAMrSettings object to remove a function from

index

index indicating which function to move, counting from ClickDetector functions first, then WhistlesMoans functions, then Cepstrum functions. This is the same order functions appear in when examining the prs object. For example, if there are two Click functions and one Whistle function, the Whistle function would have an index of 3. If missing, user can select from a list. This can also be a vector to remove multiple functions at once.

Value

the same PAMrSettings object as prs, with the function removed from the "functions" slot

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


TaikiSan21/PAMr documentation built on Nov. 15, 2020, 9:46 p.m.