Class for converting parameter values back and forth to the unit range
Class for converting parameter values back and forth to the unit range
encode_unit(x, value, direction, ...)
x |
A |
value |
The original values should be either numeric or character. When
converting back, these should be on |
direction |
Either "forward" (to |
original |
A logical; should the values be transformed into their natural units (not currently working). |
For integer parameters, the encoding can be lossy.
A vector of values.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.