update | R Documentation |
After the model object is created, update various attributes.
## S4 method for signature 'mrgmod'
update(object, ..., merge = TRUE, open = FALSE, data = NULL, strict = TRUE)
## S4 method for signature 'omegalist'
update(object, y, ...)
## S4 method for signature 'sigmalist'
update(object, y, ...)
## S4 method for signature 'parameter_list'
update(object, .y, ...)
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 |
data |
a list of items to update; this list is combined
with any items passed in via |
strict |
if |
y |
another object involved in update |
.y |
data to update |
Slots that can be updated:
verbose
debug
preclean
mindt
digits
atol - absolute solver tolerance; see solversettings
rtol - relative solver tolerance; see solversettings
ss_rtol - relative tolerance when finding steady state
ss_atol - absolute tolerance when finding steady state
ixpr - see IXPR
in solversettings
mxhnil - see MXHNIL
in solversettings
hmin - see HMIN
in solversettings
hmax - see HMAX
in solversettings
maxsteps - see MXSTEP
in solversettings
start, end, delta, add
tscale
request
param
init
omega
sigma
outvars
The updated model object is returned.
update
, mrgmod-class
,
within
## Not run:
mod <- house()
mod <- update(mod, end = 120, delta = 4, param = list(CL = 19.1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.