removeDuplicates: Remove Duplicated Values from a Vector

View source: R/vector.R

removeDuplicatesR Documentation

Remove Duplicated Values from a Vector

Description

Remove Duplicated Values from a Vector

Usage

removeDuplicates(x, dbg = TRUE)

Arguments

x

vector from which to remove duplicates

dbg

if TRUE a debug message is shown

Value

x with duplicated values being removed

Examples

removeDuplicates(c(1, 1, 2, 3, 4, 4))

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.