replace_dl: Handle values above and below detection limit, asterisked...

View source: R/corrections.R

replace_dlR Documentation

Handle values above and below detection limit, asterisked data

Description

Handle values as defined below:

  • If value contains <, value is below detection limit. Flag and replace with 0

  • If value contains >, value is above detection limit. Flag and replace with NA

  • If value contains an asterisk, value is flagged with mod and replaced with NA

Usage

replace_dl(labdat)

Arguments

labdat

dataframe containing the parsed lab data

Value

dataframe containing the parsed lab data where the result column and flag column are altered as specified above


biogeochem/bpwtpR documentation built on May 6, 2024, 5:17 p.m.