After the model object is created, update various attributes.
Usage
# S4 method for class 'mrgmod'
update(object, ..., merge = TRUE, open = FALSE, data = NULL, strict = TRUE)
# S4 method for class 'omegalist'
update(object, y, ...)
# S4 method for class 'sigmalist'
update(object, y, ...)
# S4 method for class 'parameter_list'
update(object, .y, ...)Arguments
- object
a model object.
- ...
named items to update.
- merge
logical indicating to merge (rather than replace) new and existing attributes.
- open
logical; used only when merge is
TRUEand parameter list or initial conditions list is being updated; ifFALSE, no new items will be added; ifTRUE, the parameter list may expand.- data
a list of items to update; this list is combined with any items passed in via
....- strict
if
TRUE, a warning will be issued when there is an attempt to update a non-existent item.- y
another object involved in update
- .y
data to update
Details
Slots that can be updated:
verbose
debug
preclean
mindt
digits
atol - absolute solver tolerance; see
solversettingsrtol - relative solver tolerance; see
solversettingsss_rtol - relative tolerance when finding steady state
ss_atol - absolute tolerance when finding steady state
ixpr - see
IXPRinsolversettingsmxhnil - see
MXHNILinsolversettingshmin - see
HMINinsolversettingshmax - see
HMAXinsolversettingsmaxsteps - see
MXSTEPinsolversettingsstart, end, delta, add
tscale
request
param
init
omega
sigma
outvars
See also
update, mrgmod-class,
within