8.2.5.14 categorical.renamecats

Method: out = renamecats (obj, newcats)
Method: out = renamecats (obj, oldcats, newcats)

Rename categories.

Renames some or all of the categories in obj, without changing any of its values.