align_vectors | R Documentation |
Align two vectors using their names attributes, either expanding with NAs or reducing to the common values.
align_vectors(x, y, expand = TRUE)
x |
A vector |
y |
Another vector |
expand |
If TRUE, expand each to the same length using NAs. If FALSE, remove elements not in common. |
A list with two components, x
and y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.