[R] beginner question: how to sort out distinct values from a vector

Terry Mu muster at gmail.com
Thu Mar 17 18:24:07 CET 2005


 there is a vector, like:
1, 1, 1, 2, 2, 3, 3, 4, 5, 5, 

I'd like a function that gives me only 1, 2, 3, 4, 5

thank you




More information about the R-help mailing list