View source: R/utils_vectors.R
| unify_vec_preserve_order | R Documentation |
xUnify two vectors preserving the order of x
unify_vec_preserve_order(x, y)
x |
|
y |
|
Other vectors:
len_unique(),
names_values_switch(),
rle_df(),
rle_groups(),
rle_seq(),
sort_by_names(),
true_names(),
unique_with_names(),
vlookup(),
vlookup_from_ref(),
zchar_remove()
unify_vec_preserve_order(letters[c(5, 3)], letters[c(4:10,3)])
unify_vec_preserve_order(letters[1:5], letters[c(4:10)])
unify_vec_preserve_order(NULL, letters[c(4:10)])
unify_vec_preserve_order(letters, NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.