replaceBDLs: Replace BDLs

View source: R/replaceBDLs.R

replaceBDLsR Documentation

Replace BDLs

Description

Replaces values below a detection limit with a method of the analyst's choosing

Usage

replaceBDLs(data, valueCol = "value", mdlCol = "mdl", replacement = "mdl")

Arguments

data

dataframe

valueCol

name of column with sample values

mdlCol

name of column with detection limit associated with each value

replacement

how should values belwo the detection limit be treated? "mdl" (default) replaces values with the detection limit. Numeric multipliers are also allowed; "0.5" would set values at half of the detection limit.

Value

list replaceBDLs returns a list the same length as list1 and list2

@importFrom utils setTxtProgressBar @importFrom utils txtProgressBar


troyhill/SFNRC documentation built on Dec. 30, 2024, 4:32 p.m.