Convert between units of ammonium

Description

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

Usage

1
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_NH4

  • 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. Conversions are based on relationships and values from the package marelac.

Author(s)

Matthew A. Birk, matthewabirk@gmail.com

Examples

1
2
3
conv_NH4(n_waste = 100)
conv_NH4(n_waste = 100, from = 'mg_N')
conv_NH4(n_waste = 100, from = 'mg_N', to = 'umol_NH4')

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.