Set categories in categorical array
B = setcats(
sets
categories in output categorical array A
,newcats
)B
using
categories defined by newcats
and elements defined
by A
.
If an element of A
is in a category
listed in newcats
, then the corresponding element
of B
has the same value as in A
.
If A
has a category not listed
in newcats
, then B
does not
have that category. The corresponding elements in B
are
undefined.
If newcats
lists a category that
is not a category of A
, then B
has
no elements equal to that category.
To change category names in a categorical array, use renamecats
.
addcats
| categories
| iscategory
| mergecats
| removecats
| renamecats
| reordercats