Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Unique Values

Use the unique function.



> x <- c(1, 1, 1, 2, 2, 2, 3, 3, 3, 3)
> unique(x)
[1] 1 2 3



Copyright © 2004-2006 Graham.Williams@togaware.com
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.