duplicated_including_first: Determine duplicate elements (including the first duplicate)

View source: R/data_cleaners.R

duplicated_including_firstR Documentation

Determine duplicate elements (including the first duplicate)

Description

Determine duplicate elements (including the first duplicate)

Usage

duplicated_including_first(x, ..., fromLast = NULL)

Arguments

x

A vector, data.frame, an array, or NULL.

...

Passed to duplicated

fromLast

Ignored (included as an argument to prevent passing to duplicated)

Value

A vector the same length as the return from duplicated with the first duplicated value also flagged rather than just values from the second to the last (as is returned from duplicated).


billdenney/bsd.report documentation built on Jan. 16, 2024, 12:54 a.m.