Description Usage Arguments Value See Also Examples
This function is meant to take only a vector. It relies heavily on
the duplicated
function where it can be thought of as
the inverse. Where this function differs, though–besides being only
meant for one vector or column–is that it marks the first occurrence
of a duplicated value as "non unique", as well.
1 |
x |
A vector to check for unique elements in |
allow.na |
A logical indicating whether NAs should be preserved as missing values in the return value (FALSE) or if they should be treated just like any other value (TRUE) (default is FALSE) |
A vector of the same length where the corresponding element is TRUE if the element only appears once in the vector and FALSE otherwise
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.