View source: R/utils_vectors.R
| len_unique | R Documentation |
The length of unique values in a vector
len_unique(x)
x |
|
dbl
Other vectors:
names_values_switch(),
rle_df(),
rle_groups(),
rle_seq(),
sort_by_names(),
true_names(),
unify_vec_preserve_order(),
unique_with_names(),
vlookup(),
vlookup_from_ref(),
zchar_remove()
len_unique(c(1,2,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.