find1stDup | R Documentation |
Find first duplicated position
find1stDup(x)
x |
a vector |
A logical vector
x=rep(1:5,each=3)
which(find1stDup(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.