remove.dup.rows: 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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.