conv_nh4 {respirometry}R Documentation

Convert between units of ammonia (NH3) / ammonium (NH4+)

Description

Ammonia or nitrogen excretion can be measured in a variety of ways. Convert between different measurements.

Usage

conv_nh4(n_waste, from = "umol_NH4", to = "all")

Arguments

n_waste

a numeric vector of the ammonia or nitrogen value(s).

from

a string describing the unit used to measure n_waste. Default is "umol_NH4" Options are:

  • umol_NH3

  • umol_NH4

  • mg_NH3

  • mg_NH4

  • mg_N

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.

Details

The sum of NH4+ and NH3 species are considered (i.e. TAN). Conversions are based on relationships and values from the package marelac.

Author(s)

Matthew A. Birk, matthewabirk@gmail.com

See Also

predict_nh3, conv_o2

Examples

conv_nh4(n_waste = 100)
conv_nh4(n_waste = 100, from = 'mg_N')
conv_nh4(n_waste = 100, from = 'mg_N', to = 'umol_NH4')


[Package respirometry version 2.0.0 Index]