o2_unit_conv: Convert units of dissolved oxygen

Description Usage Arguments Details Author(s) Examples

Description

Given a measurement of dissolved O2, a list of commonly used units of oxygen partial pressures and concentrations are returned.

Usage

1
2
o2_unit_conv(o2 = 100, from = "percent_a.s.", to = "all", salinity = 35,
  temp = 25, air_pres = 1.013253)

Arguments

o2

a numeric vector of the O2 value(s). Default is 100.

from

a string describing the unit used to measure o2. Default is "percent_a.s." Options are:

percent_a.s. (percent air saturation)
percent_o2
hPa
kPa
torr
mmHg
inHg
mg_per_l
umol_per_l
ml_per_l
to

a single string either describing the unit to which the conversion should be conducted (options are the same as in from), or the string "all" to return all units.

salinity

salinity of water sample (psu). Default is 35 psu.

temp

temperature of water sample (°C). Default is 25 °C.

air_pres

pressure of air overlying water sample (bar). Default is 1.013253 bar.

Details

Conversions are based on relationships and values from the package marelac.

Author(s)

Matthew A. Birk, matthewabirk@gmail.com

Examples

1
2
3
4
o2_unit_conv(o2 = 50)
o2_unit_conv(o2 = 1:50, from = "umol_per_l", to = "ml_per_l", salinity = 0, temp = 10,
	air_pres = 1.2)
o2_unit_conv()[c('mmHg','kPa')]

presens documentation built on May 1, 2019, 9:13 p.m.