remove.dup.rows: Remove duplicate rows

Description Usage Arguments Details Value Author(s) Examples

View source: R/remove.dup.rows.R

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)

cwhmisc documentation built on May 29, 2017, 12:20 p.m.