View source: R/convertStatesToMoles.R
convert network nodes from mass to moles for resources (microbes remain as mass)
1 | convertStatesToMoles(nodeMass, MolarMass)
|
nodeMass |
is the value of each node in the network (named vector) |
MolarMass |
is a named vector containing the molar mass for each resource e.g. out$parms$molarMass |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.