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-2010 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010