summary
Summary of a categorical array.
Syntax
Section titled “Syntax”summary(A)summary(A, dim)Description
Section titled “Description”Prints a tabular summary of A — for each category, the number of data values that reference it. The optional dim parameter controls the dimension along which to summarize for multi-dimensional categorical arrays.
Example
Section titled “Example”summary(categorical({'a','b','a','c','a','b'}))See also
Section titled “See also”countcats— Count occurrences of each category.categories— List of category names in a categorical array.