8.2.5.15 categorical.reordercats ¶
- Method:
out =
reordercats (obj)
¶
- Method:
out =
reordercats (obj, newcats)
¶
-
Reorder categories.
Reorders the categories in obj to match newcats.
newcats is a cellstr that must be a reordering of obj’s existing
category list. If newcats is not supplied, sorts the categories
in alphabetical order.