Create a categorical array containing the sizes of 10 objects. Use the names small
, medium
, and large
for the values 'S'
, 'M'
, and 'L'
.
A =
medium
large
small
small
medium
large
medium
large
medium
small
Determine if the categories of A
have a mathematical ordering.
A
is not ordinal. You must use the 'Ordinal',true
name-value pair argument in the function categorical
to create an ordinal categorical array.