View source: R/utils_vectors.R
sort_by_names | R Documentation |
Sort a vector or list by it's name (or self if no names)
sort_by_names(x, by_names = TRUE)
x |
|
by_names |
|
obj
sorted
Other vectors:
len_unique()
,
names_values_switch()
,
rle_df()
,
rle_groups()
,
rle_seq()
,
true_names()
,
unify_vec_preserve_order()
,
unique_with_names()
,
vlookup()
,
vlookup_from_ref()
,
zchar_remove()
sort_by_names(c(b = "b", c = "a"))
sort_by_names(c(b = "b", c = "a"), by_names = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.