remove.dup.rows {cwhtool} | R Documentation |
Removes duplicate rows from a dataframe.
remove.dup.rows(dfr)
dfr |
A dataframe |
Uses the function eql.
The dataframe with only one copy of rows occurring more than once.
Peter Dalgaard, p.dalgaard@biostat.ku.dk
dfr <- data.frame(matrix(c(1:3,2:4,1:3,1:3,2:4,3:5),6,byrow=TRUE)) remove.dup.rows(dfr)