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.
bro_duplicated(x)
| x | A vector of elements |
|---|