convert_to_numeric_lab_values: Convert to numeric Laboratory Values

View source: R/prepare_lab_data.R

convert_to_numeric_lab_valuesR Documentation

Convert to numeric Laboratory Values

Description

Convert to numeric Laboratory Values

Usage

convert_to_numeric_lab_values(
  samples_tidy,
  country = "en",
  detLimFactorBelow = 0.5,
  ...
)

Arguments

samples_tidy

data.frame with samples in tidy format, i.e. parameters are columns and each row is one value

country

"en" if value is given in English format (decimal point ".", thousands separator ",") or "de" if value is given in German format (decimal point ",", thousands separator ".").

detLimFactorBelow

actor by which detection limit is multiplied in order to get a valid value when the value was below the detection limit. Default value: 0.5

...

additional arguments passed to hsLabValToVal

Value

data.frame with additional columns "outOfLimit" (with "<" or ">" sign) and "numericValue"


KWB-R/geosalz.phreeqc documentation built on Aug. 30, 2022, 10:03 a.m.