Skip to contents

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"