[R] Unique rows

Lanre Okusanya lanre.okusanya at gmail.com
Wed Aug 9 20:37:56 CEST 2006

hello all,

I have a dataset where the subjects are duplicated. How do I subset
such that I can get only I row/subject.


I would like to subset df(cc) such that I can get
aa bb
1 56
2 33
3 53
4 20
5 63
6 9

I know this should be fairly easy but I can't figure how to do it in a
dataframe and keep all my columns


More information about the R-help mailing list