Command Reference : Matrix Language Reference
  
 
@uniquevals
 
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.
Examples
@uniquevals(X)
returns a vector containing the unique values in X.