duplicated2 | R Documentation |
'duplicated2' returns a logical vector: TRUE for all the duplicated elements, and FALSE for unique elements. Whereas duplicated(), a base function, does not include the first entry of the duplicated set.
duplicated2(x)
x |
a vector or a data frame or an array or NULL |
A logical vector (TRUE for duplicates and FALSE for non duplicates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.