[R] all duplicated wanted

Weijia Wang wwang.nyu at gmail.com
Fri Aug 3 09:06:02 CEST 2012


Hi,

Has anyone been able to figure out how to print all duplicated observations?

I have a dataset, with patients ID, and other lab records.

Some patients have multiple lab records, but 'duplicated' ID will only show me the duplicates, not the original observation.

How can I print both the original one and the duplicates?

Thanks


More information about the R-help mailing list