NEWLEVELS(f;x)
forms a variate from the factor f
; the variate x
defines a value for each level and should be the same length as the number of levels of the factor. If the second argument x
is omitted, the ordinals (1, 2…) are given.
NEWLEVELS
Updated on December 4, 2017