discreteValueToName: Convert discrete value(s) to encoding name(s).
Description
For a discrete parameter or discrete vector.
If the value x is NA, indicating a missing parameter value due to unsatisfied requirements,
NA is returned.
Usage
discreteValueToName(par, x)
Value
character. Single name for a discrete parameter or a character vector of
names for a discrete vector.
Arguments
par
Param
Parameter.
x
any
Parameter value or a list of values for a discrete vector.