duplicated: Find duplicates in a vector

Description Usage Arguments Details

Description

Find duplicates in a vector

Usage

1
2
3
4
5
## S3 method for class 'lvec'
duplicated(x, incomparables = FALSE, fromLast = FALSE, ...)

## S3 method for class 'lvec'
unique(x, incomparables = FALSE, ...)

Arguments

x

an object of type lvec.

incomparables

passed on to link{duplicated}.

fromLast

not supported.

...

passed on to duplicated.

Details

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


ldat documentation built on March 26, 2020, 7:59 p.m.

Related to duplicated in ldat...