Remove duplicate rows

Description

Removes duplicate rows from a dataframe.

Usage

1

Arguments

dfr

A dataframe

Details

Uses the function eql.

Value

The dataframe with only one copy of identical rows.

Author(s)

Peter Dalgaard, p.dalgaard@biostat.ku.dk

Examples

1
2
  dfr <- data.frame(matrix(c(1:3,2:4,1:3,1:3,2:4,3:5),6,byrow=TRUE))
  remove.dup.rows(dfr)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.