cen_sum: Sum detected and non-detect concentrations.

Description Usage Arguments Value

View source: R/cleaning_functions.R

Description

Sum up congener sample concentrations to create a composite parameter value. Primarily intended as a helper function in fuse_samples.

Usage

1
cen_sum(qual, result, nd = c("<", "nd", "ND"))

Arguments

qual

A character vector containing non-detect indicator strings, e.g., "<" or "ND". The strings used to indicate censored status can be edited in the "nd" argument.

result

A numeric vector of concentration measurements.

nd

A list indicating all the censoring flags included in the dataset. Defaults to "<", "nd", and "ND".

Value

dataframe with two columns, qual (character) and result (numeric)


reasonabletools documentation built on Nov. 8, 2020, 4:24 p.m.