Find duplicates in a vector
# S3 method for lvec
duplicated(x, incomparables = FALSE, fromLast = FALSE, ...)# S3 method for lvec
unique(x, incomparables = FALSE, ...)
an object of type lvec
.
passed on to link{duplicated}
.
not supported.
passed on to duplicated
.
Because this function works on chunks of data the data first needs to be
sorted. Since a non stable sort is used, which of the duplicates is marked
as duplicate is undefined. This is unlike the regular
duplicated
in which fromLast
determines which records
are marked as duplicates.
The function processes the data in chunks. The size of the chunks can be
controlled using the option `chunk_size` (see chunk
).