allDups {bayesbio}R Documentation

Identify all duplicates values in a vector.

Description

By default the base R function duplicated only identifies the duplicated values after the first in a vector as TRUE. This function identifies all of the duplicates as true.

Usage

allDups(x)

Arguments

x

The input vector.

Value

A logical vector.


[Package bayesbio version 1.0.0 Index]