loadConvFactor: Unit Conversion

Description Usage Arguments Value Examples

View source: R/loadConvFactor.R

Description

Computes the conversion factor to compute the flux units (load units) from the concentration and flow units

Usage

1
loadConvFactor(flow.units, conc.units, load.units)

Arguments

flow.units

character string describing the flow unit. The only valid values are "cubic meter per second," "cms," "cubic feet per second," or "cfs."

conc.units

character string describing the concentration unit. The valid units are "mg/l," "mg/L," "ug/l," "ug/L," "ng/l," "ng/L," "milligrams per liter," "micrograms per liter," "nanograms per liter," "col/100mL," "col/dL," or "colonies per 100mL."

load.units

character string describing the load unit. The valid values are "pounds," "tons," "mg," "milligrams," "grams," "g," "kilograms," "kg," "metric tons," "Mg," or "million colonies."

Value

The conversion factor.

Examples

1
loadConvFactor("cubic meter per second","milligrams per liter","pounds")

USGS-R/rloadest documentation built on Oct. 2, 2020, 5:21 a.m.