Function to Impute Values When Qualifier Exists in Character Result
Source:R/compute_qual_imputation.R
compute_qual_imputation.Rd
Derive an imputed value
Arguments
- character_value
Character version of value to be imputed
- imputation_type
(default value=1) Valid Values: 1: Strip <, >, = and convert to numeric. 2: imputation_type=1 and if the character value contains a < or >, the number of of decimals associated with the character value is found and then a factor of 1/10^(number of decimals + 1) will be added/subtracted from the numeric value. If no decimals exists, a factor of 1/10 will be added/subtracted from the value.
- factor
Numeric value (default=0), when using
imputation_type
= 1, this value can be added or subtracted when the qualifier is removed.
See also
BDS-Findings Functions that returns a vector:
compute_bmi()
,
compute_bsa()
,
compute_egfr()
,
compute_framingham()
,
compute_map()
,
compute_qtc()
,
compute_qual_imputation_dec()
,
compute_rr()
,
compute_scale()