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' )

oliver-wyman-actuarial/easyr documentation built on Jan. 27, 2024, 4:37 a.m.