[R] How to delete a duplicate observation
nuyaying
changzhu at yahoo.com
Thu Sep 13 18:50:35 CEST 2007
I have a data set with 3 variables V1, V2, V3. If there are 2 data points
have the same values on both V1 and V2, I want to delete one of them which
has smaller V3 value. i.e., in the data below, I want to delete
the first observation. How can I do that ? Thanks in advance!
V1 V2 V3
3 3 1
3 3 4
--
View this message in context: http://www.nabble.com/How-to-delete-a-duplicate-observation-tf4437033.html#a12659033
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list