addBinaries {PAMpal}R Documentation

Add Binaries to a PAMpalSettings Object

Description

Adds more binary files to the "binaries" slot of a PAMpalSettings object. Interactively asks user to supply folder location if not provided.

Usage

addBinaries(pps, folder = NULL, verbose = TRUE)

Arguments

pps

a PAMpalSettings object to add binary files to

folder

a folder of binaries to add, all subfolders will also be added

verbose

logical flag to show messages

Value

the same PAMpalSettings object as pps, with the binary files contained in folder added to the "binaries" slot. Only binary files for Click Detector and WhistlesMoans modules will be added, since these are the only types PAMpal currently knows how to process

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples


# not recommended to create PPS like this, for example only
pps <- new('PAMpalSettings')
binFolder <- system.file('extdata', 'Binaries', package='PAMpal')
pps <- addBinaries(pps, binFolder)
pps


[Package PAMpal version 1.2.1 Index]