Description Usage Arguments Details Value Author(s) References See Also Examples
calcCOD
is used to calculate the oxygen demand (“calculated oxygen demand”, or COD' as described by Rittmann and McCarty (2001)) of a compound.
1 | calcCOD(form)
|
form |
a chemical formula, as a character vector, e.g., |
Based on Eqs. (2.2) and (2.3) in Rittmann and McCarty (2001) (p 128), but using molar mass calculated with molMass
.
calcCOD
is not case-sensitive as long as all elements have single letter abbreviations.
The function is vectorized.
A numeric vector with length equal to length of form
with COD' in g of oxygen per g of compound.
Sasha D. Hafner and Charlotte Rennuit
Rittmann, B., McCarty, P. 2001 Environmental Biotechnology. McGraw-Hill.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.