sizes3 is now a 3-by-2 ordinal categorical array equivalent to sizes and sizes2.
Working with Ordinal Categorical Arrays
In order to combine or compare two categorical arrays, the sets of categories for both input arrays
must be identical, including their order. Furthermore, ordinal categorical arrays are always
protected. Therefore, when you assign values to an ordinal categorical array, the values must belong
to one of the existing categories. For more information see “Work with Protected Categorical Arrays”
on page 8-30.
See Also
categorical | categories | isordinal | isequal
Related Examples
•
“Create Categorical Arrays” on page 8-2
•
“Convert Text in Table Variables to Categorical” on page 8-6
•
“Compare Categorical Array Elements” on page 8-16
•
“Access Data Using Categorical Arrays” on page 8-24
More About
•
“Advantages of Using Categorical Arrays” on page 8-34
8 Categorical Arrays
8-38
Précédent

- 342/1450

Suivant