addBinaries: Add Binaries to a PAMrSettings Object

Description Usage Arguments Value Author(s) Examples

View source: R/addBinaries.R

Description

Adds a new function to the "function" slot in a PAMrSettings object.

Usage

1
addBinaries(prs, binFolder = NULL)

Arguments

prs

a PAMrSettings object to add a database to

binFolder

a folder of binaries to add

Value

the same PAMrSettings object as prs, with the binary files contained in binFolder added to the "binaries" slot. Only binary files for Click Detector and WhistlesMoans modules will be added, since these are the only types PAMr currently knows how to process (last updated v 0.7.0)

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples

1
2
3
4
5
# not recommended to create PRS like this, for example only
prs <- new('PAMrSettings')
binFolder <- system.file('extdata', 'Binaries', package='PAMr')
prs <- addBinaries(prs, binFolder)
prs

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