c2load: Loads

Description Usage Arguments Value References See Also Examples

View source: R/c2load.R

Description

Convert concentration and flow to load (flux).

Usage

1
2
c2load(conc, flow, flow.units = "cfs", conc.units = "", load.units = "kg",
  ignore.censoring = TRUE)

Arguments

conc

the concentration data missing values are permitted and result in missing values in the output.

flow

the flow data missing values are permitted and result in missing values in the output.

flow.units

character string describing the flow unit.

conc.units

character string describing the concentration unit.

load.units

character string describing the load unit.

ignore.censoring

logical, see Value.

Value

If ignore.censoring is TRUE, the default, then return a vector of numeric values with censored values replaced by 1/2 the detection limit. Otherwise, return a vector that retains the censoring—if conc is numeric, then uncensored; if conc is of class "qw," then the returned data would be of class "lcens" or "mcens."

References

will need some.

See Also

loadReg

Examples

1
2
3
# These calls return the conversion factors
c2load(1, 1, conc.units="mg/L")
c2load(1, 1, conc.units="mg/L", load.units="tons")

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