replaceNegative: Replace negative values with positive ones

Description Usage Arguments Value

View source: R/replaceNegative.R

Description

Replaces negative values, decoding for values below LOQ, into positive values using a factor

Usage

1
replaceNegative(x, replaceval = NA)

Arguments

x

data set

replaceval

value used for replacement

Value

Dataset with positive values

A way to work with values below the limit of Quantification (LOQ) is to convert these values to negative concentrations. Since negative concentrations do not exists, changing sign makes easy to discern them from other values. Depending on the type of analyses, these negative values can easily imputed by a positive value, using a factor like 0.5 or 0.7, or by other values like 0 or NA.


rivm-syso/achtergrondwaarden documentation built on Jan. 22, 2020, 12:44 a.m.