is.dup: is.dup

is.dupR Documentation

is.dup

Description

labels which vectors in x are part of a dup returns logical TRUE if vector is part of a dup

Note: this is a twist on "duplicated" which only returns TRUE if a given element is a duplicate (i.e. duplicated () is FALSE for the original version for the duplicate, while is.dup() will be TRUE for that element)

x can be vector or matrix

Usage

is.dup(x)

Arguments

x

vector or matrix to check

Value

logical vector of length(x) or nrow(x)

Author(s)

Marcin Imielinski


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.