categorical.removecats (Tablicious v0.4.7)
Description: User manual for Tablicious for Octave.

#### 8.2.6.14 categorical.removecats ¶

Method: `out =` removecats `(obj)` ¶

  Removes all unused categories from obj. This is equivalent to `out = squeezecats (obj)`.

Method: `out =` removecats `(obj, oldcats)` ¶

  Remove categories from categorical array.

  Removes the specified categories from obj. Elements of obj whose values belonged to those categories are replaced with undefined.

  newcats is a cellstr listing the category names to add to obj.