addSettings {PAMpal} | R Documentation |
Add Settingss to a PAMpalSettings Object
Description
Adds settings to a PAMpalSettings object, usually from an XML file created by Pamguard's "Export XML Configuration"
Usage
addSettings(pps, settings = NULL, type = c("xml", "list"), verbose = TRUE)
Arguments
pps |
a PAMpalSettings object to add settings to |
settings |
settings to add, either an XML file or a |
type |
one of 'xml' or 'list' indicating type of settings to add |
verbose |
logical flag to show messages |
Value
the same PAMpalSettings object as pps, with a new list of settings replacing what was previously in the "settings" slot
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
# not recommended to create PPS like this, for example only
pps <- new('PAMpalSettings')
xmlSettings <- system.file('extdata', 'Example.xml', package='PAMpal')
pps <- addSettings(pps, xmlSettings, type='xml')
[Package PAMpal version 1.2.1 Index]