Compute Factor for Value Imputations When Character Value Contains < or >
Source:R/compute_qual_imputation.R
compute_qual_imputation_dec.Rd
Function to compute factor for value imputation when character value contains < or >. The factor is calculated using the number of decimals. If there are no decimals, the factor is 1, otherwise the factor = 1/10^decimal place. For example, the factor for 100 = 1, the factor for 5.4 = 1/10^1, the factor for 5.44 = 1/10^2. This results in no additional false precision added to the value. This is an intermediate function.
See also
BDS-Findings Functions that returns a vector:
compute_bmi()
,
compute_bsa()
,
compute_framingham()
,
compute_map()
,
compute_qtc()
,
compute_qual_imputation()
,
compute_rr()
,
compute_scale()