drows: Get Rows with Duplicates

View source: R/drows.R

drowsR Documentation

Get Rows with Duplicates

Description

Pulls all rows with duplicates in a column, not just the duplicate row. Author: Bryce Chamberlain.

Usage

drows(x, c, na = FALSE)

Arguments

x

Data frame.

c

Column as vector or string.

na

Consider multiple NAs as duplicates?

Value

Rows from the data frame in which the column is duplicated.

Examples

ddt = bindf( cars, utils::head( cars, 10 ) )
drows( ddt, 'speed' )

easyr documentation built on March 31, 2023, 6:22 p.m.

Related to drows in easyr...