[R] Delete rows with duplicate field...

David Winsemius dwinsemius at comcast.net
Mon May 3 19:21:31 CEST 2010


On May 3, 2010, at 9:59 AM, someone wrote:

>
> I dont want to apply the unique for all columns but just the ID  
> column.
>

dataset[ !duplicated(dataset$ID), ]

>
-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list