unique_len | R Documentation |
Combine two frequently used function together to return the length of the unique items of a vector
unique_len(.)
. |
object such as vector or names(dataframe) |
length of the unique items in a vector
frenchnames1 = c("Léa","Obinna","Bastien","Léa","Obinna", "Hugo", "Amélie","Louis")
unique_len(frenchnames1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.