R/encode_unit.R
encode_unit.RdClass for converting parameter values back and forth to the unit range
encode_unit(x, value, direction, ...)
# S3 method for class 'quant_param'
encode_unit(x, value, direction, original = TRUE, ...)
# S3 method for class 'qual_param'
encode_unit(x, value, direction, ...)A vector of values.
For integer parameters, the encoding can be lossy.