standardize_mdl_units: Standardize MDL

View source: R/units.R

standardize_mdl_unitsR Documentation

Standardize MDL

Description

There are many cases in EMS where the UNIT of the RESULT is displayed differently than the METHOD_DETECTION_LIMIT. This function uses the units package to convert the METHOD_DETECTION_LIMIT values to the same unit as RESULT.

Usage

standardize_mdl_units(data)

Arguments

data

an ems data frame containing at least the columns ⁠"UNIT", "METHOD_DETECTION_LIMIT", "MDL_UNIT"⁠

Value

data frame with MDLs standardized to UNITs (where possible)


bcgov/rems documentation built on Oct. 14, 2023, 3:04 a.m.