char_map
returns an S3 object of class "char_map", which is a
list with the following elements: (chars) the unique set of strings in
x
in undefined order, (idx) an integer (or - for long vectors -
double) vector such that map$chars[map$idx]
is identical to x
(except maybe for attributes), (attributes) the attributes of x as a
shallow copy of the corresponding pairlist.
map2char
returns a character vector identical to x
,
including attributes.