util_get_duplicated_values | R Documentation |
This function returns a vector of the duplicated values in the input vector.
util_get_duplicated_values(x)
x |
A vector. |
A vector of the duplicated values in the input vector.
if(interactive()) {
util_get_duplicated_values(c(1, 2, 2)) # returns 2
util_get_duplicated_values(c(1, 2, 3)) # returns NULL
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.