Description Usage Arguments Details Value Author(s)
Creating meta-information about rows (stateVars), isotopes (columns), and additonal outputs.
1 | twCreateModMeta(rowNames, csts, iRUnits = 1, auxGroups = list())
|
rowNames |
character vector: names of the state variables |
csts |
list of character vectors: for each element, the isotopes are listed. << Each first entry should be the reference with isotopic ratio of one (e.g. c12 or n15) |
iRUnits |
numeric vector of units for different isotopes, << ensuring equal magnitudes to avoid numerical errors (see details) |
auxGroups |
mapping namegroup (character) -> columnNames (character vector): column names of auxiliary outputs |
Based on the given basic arguments, derived information is stored within the meta-information data structure.
So that this derived information does not need to be recalculated at different places.
By default all units are 1.
If names are not given, is is assumed that order corresponds to colNames
If names are given, default 1 for c12 and n15 are added.
a list with components
character vector: names of the state variables
list of character vectors: for each element, the isotopes are listed.
<< Each first entry should be the reference with isotopic ratio of one (e.g. c12 or n15)
character vector: names of the isotopes
character vector: names of the elements row_column
numeric vector of units for different isotopes,
<< ensuring equal magnitudes to avoid numerical errors (see details)
mapping namegroup (character) -> columnNames (character vector): column names of auxiliary outputs
character vector: names of all auxiliary outputs
numeric vector, with names corresponding to auxOutputNames
number of rows
number of columns
numeric matrix: template for state variable matrix with corresponding row and column names
number of auxiliary outputs
Thomas Wutzler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.