Command Reference : Matrix Language Reference
Syntax: @uniquevals(arg)
Argument: series, alpha, vector or matrix
Return: vector or svector
Returns a vector or svector containing the list of unique values in the object specified by arg. If arg is a series, vector or matrix, @uniquevals will return a vector object containing the unique elements of the series, vector or matrix. If arg is an alpha series, @uniquevals will return an svector of the unique values in the alpha.
returns a vector containing the unique values in X.