Description Usage Arguments Author(s) References Examples
This will find all duplicates in a run, unlike duplicated
which
finds duplicates globally.
1 | duplicated2(x)
|
x |
a vector |
Josh O'Brien, Neal Fultz
http://stackoverflow.com/questions/30260507/exclude-subsequent-duplicated-rows-in-r
1 | duplicated2(c(2,3,3,2,2,3,3,3,3,2,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.