get_duplicates {admiraldev}R Documentation

Get Duplicates From a Vector

Description

Get Duplicates From a Vector

Usage

get_duplicates(x)

Arguments

x

An atomic vector

Value

A vector of the same type as x contain duplicate values

See Also

Brings something to you!?!: get_constant_vars(), get_dataset(), get_source_vars()

Examples

get_duplicates(1:10)

get_duplicates(c("a", "a", "b", "c", "d", "d"))

[Package admiraldev version 1.1.0 Index]