addSettings | R Documentation |
Adds settings to a PAMpalSettings object, usually from an XML file created by Pamguard's "Export XML Configuration"
addSettings(pps, settings = NULL, type = c("xml", "list"), verbose = TRUE)
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 |
the same PAMpalSettings object as pps, with a new list of settings replacing what was previously in the "settings" slot
Taiki Sakai taiki.sakai@noaa.gov
# 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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.