dupes | R Documentation |
Extract duplicated values
dupes(x)
notDupes(x)
x |
|
Modified object. Only duplicated values are returned, made unique. Returns empty vector of length 0 when no duplicates are detected.
Updated 2023-09-26.
goalie::isDuplicate()
.
duplicated()
.
## character ====
vec <- c("ccc", "aaa", "bbb", "ccc", "bbb")
x <- dupes(vec)
print(x)
x <- notDupes(vec)
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.