conv_o2 | R Documentation |
Unfortunately, a consensus on the best way to express how much oxygen is in water has not been formed to date. Until then, this function converts between all commonly used forms of dissolved O2 measurements.
conv_o2(
o2 = 100,
from = "percent_a.s.",
to = "all",
temp = 25,
sal = 35,
atm_pres = 1013.25
)
o2 |
a numeric vector of the O2 value(s). Default is 100. |
from |
a string describing the unit used to measure
|
to |
a single string either describing the unit to which the conversion should be conducted (options are the same as in |
temp |
temperature (°C). Default is 25 °C. |
sal |
salinity (psu). Default is 35 psu. |
atm_pres |
atmospheric pressure (mbar). Default is 1013.25 mbar. |
Conversions are based on relationships and values from the package marelac
which utilizes saturation values from Weiss 1970.
Matthew A. Birk, matthewabirk@gmail.com
Weiss R. 1970. The solubility of nitrogen, oxygen, and argon in water and seawater. Deep-Sea Research. 17:721-735.
conv_o2(o2 = 50)
conv_o2(o2 = 1:50, from = "umol_per_l", to = "ml_per_l", temp = 10, sal = 0,
atm_pres = 1100)
conv_o2()[c('mmHg','kPa')]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.