Displaying 1 result from an estimated 1 matches for "tp4642679p4642683".
2012 Sep 10
4
Identifying duplicate rows?
Hi,
I am trying to identify duplicate values in a column in a date frame. The
duplicated function identifies the duplicate rows in the data frame but it
only does this for the second record, not both records. Is there a way to
mark both rows in the data frame as TRUE?
dfA$dups<-duplicated(dfA$Value)
dfA
Site State Value dups
929 VA 73 FALSE
929 VA 73 TRUE
930 VA 76 FALSE
930 VA 76 TRUE
931