Unique a vector, preserving the names of the first original entries
unique_with_names.Rd
Unique a vector, preserving the names of the first original entries
See also
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()
Examples
unique_with_names(c(N = "n", b = "b", A = "n"))
#> N b
#> "n" "b"