solver | R Documentation |
Please refer to the Modeling Howto vignette on how to implement custom
models by overloading the solver
function.
solver(scenario, times, ...)
## S4 method for signature 'ANY'
solver(scenario, times, ...)
## S4 method for signature 'GutsRedSd'
solver(scenario, times, ...)
## S4 method for signature 'GutsRedIt'
solver(scenario, times, ...)
## S4 method for signature 'LemnaSchmittScenario'
solver(scenario, times, ...)
## S4 method for signature 'LemnaSetacScenario'
solver(scenario, times, ...)
## S4 method for signature 'MyrioExpScenario'
solver(scenario, times, ...)
## S4 method for signature 'MyrioLogScenario'
solver(scenario, times, ...)
## S4 method for signature 'DebAbj'
solver(scenario, times, ...)
## S4 method for signature 'AlgaeWeberScenario'
solver(
scenario,
times,
approx = c("linear", "constant"),
f = 1,
method = "lsoda",
hmax = 0.1,
...
)
## S4 method for signature 'AlgaeTKTDScenario'
solver(
scenario,
times,
approx = c("linear", "constant"),
f = 1,
method = "lsoda",
hmax = 0.1,
...
)
## S4 method for signature 'AlgaeSimpleScenario'
solver(
scenario,
times,
approx = c("linear", "constant"),
f = 1,
method = "ode45",
hmax = 0.01,
...
)
## S4 method for signature 'DebTox'
solver(
scenario,
times,
approx = c("linear", "constant"),
f = 1,
rule = 2,
method = "ode45",
...
)
## S4 method for signature 'DebDaphnia'
solver(scenario, times, ...)
scenario |
scenario object |
times |
numeric vector of output times, overrides any scenario setting |
... |
additional parameters passed on to |
approx |
string, interpolation method of exposure series, see deSolve::forcings |
f |
if |
method |
string, numerical solver used by |
hmax |
numeric, maximum step length in time, see |
rule |
if |
Please note that not all solvers support setting the parameters listed here. In addition, some solvers may set reasonable default values for e.g. maximum step length in time, but not all do. Please check the model documentation for details.
data.frame
with simulation results
solver(ANY)
: Default solver, raises an error
solver(GutsRedSd)
: Numerically integrates GUTS-RED-SD models
solver(GutsRedIt)
: Numerically integrates GUTS-RED-IT models
solver(LemnaSchmittScenario)
: Numerically integrates Lemna_Schmitt models
solver(LemnaSetacScenario)
: Numerically integrates Lemna_SETAC models
solver(MyrioExpScenario)
: Numerically integrates Myrio models
solver(MyrioLogScenario)
: Numerically integrates Myrio_log models
solver(DebAbj)
: Numerically integrates DEB_abj models
solver(AlgaeWeberScenario)
: numerically integrates Algae_Weber models
solver(AlgaeTKTDScenario)
: numerically integrates Algae_TKTD models
solver(AlgaeSimpleScenario)
: numerically integrates Algae_Simple models
solver(DebTox)
: Numerically integrates DEBtox scenarios
solver(DebDaphnia)
: (deprecated) Numerically integrates DEBtox_Daphnia scenarios
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.