Description Usage Arguments Value Author(s) Examples
Creating initial state variables for Basic carbon nitrogen cycling model.
1 | initStateModMeta(xc12, cn, iR, modMeta)
|
xc12 |
numeric vector: 12C mass for each pool If names are given these must comprise codemodMeta$rowNames. |
cn |
numeric vector: carbon to nitrogen ratio for each pool If vector has length one, the same ratio is assumed for all pools. If names are given, these must comprise codemodMeta$rowNames |
iR |
numeric matrix (nPools, nIsotopes): atomic ratios For others be aware of the adjusted units to avoid bigger numerical errors. If it is a vector (nIsotopes), the same atomic ratio is assumed for all pools If colnames/names are given they comprise codemodMeta$colNames Default 1 is added for columns c12 and n15 (first columen in modMeta$csts$cis or $nis repectively if not given with iR. |
modMeta |
model meta information, see |
Numeric matrix (nPool, nIsotopes) of state variable mass.
Thomas Wutzler
1 | mm <- modMetaICBMDemo()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.