View source: R/streambugs_aux.r
decode.statevarnames | R Documentation |
Extract reach names, habitat names, taxa names and optional group names from encoded labels of streambugs ODE state variable names.
decode.statevarnames(y.names)
y.names |
vector with state variable names in the form of
|
List with:
$y.names
names of state variables (input argument)
$y.reaches
, $y.reaches
, $y.habitats
,
$y.taxa
, and $y.groups
:Names of, respectively, reaches, habitats, taxa, and of groups of each state variable
$reaches
, $habitats
, $taxa
, $groups
:Unique names of, respectively, reaches, habitats, taxa, and of groups of state variables
$ind.fA
:Indices used for the areal fractions of each reach and habitat
y.names <- c("Reach1_Hab1_Baetis_Invertebrates","Reach1_Hab1_Ecdyonurus_Invertebrates", "Reach2_Hab1_Baetis_Invertebrates", "Reach2_Hab1_Ecdyonurus_Invertebrates") decode.statevarnames(y.names)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.