bro_duplicated: Determine duplicate elements

View source: R/helpers.R

bro_duplicatedR Documentation

Determine duplicate elements

Description

This function determines which elements of a vector or data frame exists more than once, and returns a logical vector indicating those elements (rows) as duplicates. In contrast to the base R function duplicated() it marks all occurences of the duplicated element, including the first occurence.

Usage

bro_duplicated(x)

Arguments

x

A vector of elements


jbengler/bro documentation built on Aug. 1, 2023, 9:09 a.m.