Next: cell2table, Previous: calyears, Up: API Alphabetically [Contents]
Categorical variable array.
A categorical
array represents an array of values of a categorical
variable. Each categorical
array stores the element values along
with a list of the categories, and indicators of whether the categories
are ordinal (that is, they have a meaningful mathematical ordering), and
whether the set of categories is protected (preventing new categories
from being added to the array).
In addition to the categories defined in the array, a categorical array
may have elements of "undefined" value. This is not considered a
category; rather, it is the absence of any known value. It is
analagous to a NaN
value.
This class is not fully implemented yet. Missing stuff: - gt, ge, lt, le - Ordinal support in general - countcats - summary
uint16
codeThe numeric codes of the array element values. These are indexes into the
cats
category list.
This is a planar property.
logical
tfMissingA logical mask indicating whether each element of the array is missing (that is, undefined).
This is a planar property.
cellstr
catsThe names of the categories in this array. This is the list into which
the code
values are indexes.
scalar_logical
isOrdinalA scalar logical indicating whether the categories in this array have an ordinal relationship.
Next: cell2table, Previous: calyears, Up: API Alphabetically [Contents]