Function to calculate the real value of a coded value.
Usage
code2real(low, high, codedValue)
Arguments
- low
Numeric value giving the lower boundary.
- high
Numeric value giving the higher boundary.
- codedValue
Numeric value giving the coded value that will be calculated.
Value
The function return a real value of a coded value
Examples
code2real(160, 200, 0)
#> [1] 180