Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

UNIQUE Function

sorts and removes duplicates

UNIQUE( matrix1<, matrix2,..., matrix15>)

where matrix is a numeric or character matrix or quoted literal.

The UNIQUE function returns as a row vector the sorted set (without duplicates) of all the element values present in its arguments. The arguments can be either all numeric or all character, and there can be up to 15 arguments specified. This function is identical to the UNION function, the description of which includes an example.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.