cen_sum {reasonabletools}R Documentation

Sum detected and non-detect concentrations.

Description

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

Usage

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)


[Package reasonabletools version 0.1 Index]