streambugs.example.model.extended {streambugs} | R Documentation |
Set-up the streambugs extended model
Description
Set-up state variables, parameters, input, and output times of the streambugs
extended model. All these are defined and read from .dat
files The model is
ready to run with run.streambugs
.
Usage
streambugs.example.model.extended()
Value
List with:
$name
name of the example
$y.names
list with names of state variables as returned by the decode.statevarnames function
$times
,$par
,$inp
:corresponding input parameters of the
run.streambugs
function
Model syntax
See "docs/Streambugs_syntax.pdf" file in the package installation folder:
system.file("docs", "Streambugs_syntax.pdf", package="streambugs")
.
Examples
model <- streambugs.example.model.extended()
# display values of microhabitat tolerance values for Lumbriculidae taxa
model$par[grepl("^Lumbriculidae_microhabtolval", names(model$par))]
[Package streambugs version 1.4 Index]