Developer Documentation Library > Scripting > UNICOM Intelligence Function Library > Categorical functions
 
Categorical functions
These functions operate on categorical data only. Text, categorical, and array functions can also operate on categorical data.
Function
Description
Returns the number of categories selected in a category list.
Identifies whether a category list contains all of the categories in a given list.
 
Identifies whether a category list contains one or more categories in a given list.
 
Identifies whether a category list contains some of the categories in a given list.
Returns a set of categories of a categorical variable.
Returns a set of elements of a categorical variable.
Returns a set of factor numbers as defined on the categories in a variable.
Returns a set of elements of a categorical variable.
Returns the difference of two category lists--that is, it returns the categories that are in the first category list but not in the second.
Returns the factor defined for an element of a categorical variable.
FilterBy
An alias to the Intersection function.
Returns a specified category in a category list.
Identifies whether a specified category is in a category list.
Returns the intersection of two or more category lists--that is, it returns the categories that appear in all of the category lists.
Returns the smallest available subscript for the indicated dimension of an array. By default, the lower bound is returned for the first dimension of the array.
Returns the union of a number of categorical values; that is, returns the categories that are in any of the input categorical values.
Re-sizes an array to a given size. By default, the array contents are preserved.
Returns the largest available subscript for the indicated dimension of an array. By default, the upper bound is returned for the first dimension of the array.
Returns the union of two or more category lists--that is, it returns all of the categories that are in one or more of the category lists.
Returns a category list with any duplicate categories removed.
Returns the exclusive union of two category lists--that is, it returns all of the categories that are in either one of the category lists, but not in both.
The examples in this section are based on the variables in the Museum sample data set.
See also
Text, categorical, and array functions
Conversion functions
Text functions
Date and time functions
Random number functions
List functions
Miscellaneous functions
Value resolution
Category expressions
UNICOM Intelligence Function Library