View source: R/simulation-simInit.R
| simInitAndSpades2 | R Documentation |
simInitAndSpades2 is a convenience wrapper for do.call(simInitAndSpades, listOfArgs),
i.e., a user can pass a list of all the arguments.These functions are convenience wrappers that may allow for more efficient caching.
Passes all arguments to simInit(), then passes the created simList to spades().
simInitAndSpades2(l)
simInitAndSpades(
times,
params,
modules,
objects,
paths,
inputs,
outputs,
loadOrder,
notOlderThan,
debug,
progress,
cache,
.plots,
.plotInitialTime,
.saveInitialTime,
events,
...
)
l |
A list of arguments to passed to |
times |
A named list of numeric simulation start and end times
(e.g., |
params |
A list of lists of the form |
modules |
A named list of character strings specifying the names of modules to be loaded
for the simulation.
Note: the module name should correspond to the R source file from which the module is loaded.
Example: a module named "caribou" will be sourced form the file ‘caribou.R’,
located at the specified |
objects |
(optional) A vector of object names (naming objects
that are in the calling environment of
the |
paths |
An optional named list with up to 4 named elements,
|
inputs |
A |
outputs |
A See |
loadOrder |
An optional character vector of module names specifying the order in which to load the modules. If not specified, the module load order will be determined automatically. |
notOlderThan |
A time, as in from |
debug |
Optional tools for invoking debugging. Supplying a |
progress |
Logical ( |
cache |
Logical. If |
.plots |
Character. Sets the parameter of this name in all modules.
See |
.plotInitialTime |
Numeric. Temporarily override the |
.saveInitialTime |
Numeric. Temporarily override the |
events |
A character vector or a named list of character vectors. If specified,
the simulations will only do the events indicated here. If a named list, the names
must correspond to the modules and the character vectors can be specific events within
each of the named modules. With the |
... |
Arguments passed to |
Same as spades() (a simList) or
simInit(), spades()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.