Re: [R] Ordering Duplicates for Selection

2010-10-05 Thread jim holtman
Here is a way of putting "Order" on your data: > x V1 V2 V3 V4 V5 1 1 12345678 Soc101 34 02-04-2003 2 2 12345678 Soc101 62 31-11-2004 3 3 12345678 Psy104 63 03-05-2003 4 4 23456789 Soc101 73 02-04-2003 5 5 23456789 Psy104 76 25-02-2004 > x$order <- ave(x$V1, x$V2, x$V3, FU

[R] Ordering Duplicates for Selection

2010-10-05 Thread C C
Hi all, I've found a lot of helpful info regarding identifying and deleting duplicates but I'd like to do something a little different - I'd like to identify the duplicate values but instead of deletion, label them with a value. I am working with historical data regarding school courses: