View source: R/utils_vectors.R
| unique_with_names | R Documentation |
Unique a vector, preserving the names of the first original entries
unique_with_names(x)
x |
|
vec of the same type
Other vectors:
len_unique(),
names_values_switch(),
rle_df(),
rle_groups(),
rle_seq(),
sort_by_names(),
true_names(),
unify_vec_preserve_order(),
vlookup(),
vlookup_from_ref(),
zchar_remove()
unique_with_names(c(N = "n", b = "b", A = "n"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.