Create vectors matching the length of a given vector
These functions are deprecated as of rlang 0.3.0 because they
are longer to type than the equivalent rep_along()
or
rep_named()
calls without added clarity.
new_logical_along(x, names = base::names(x)) new_integer_along(x, names = base::names(x)) new_double_along(x, names = base::names(x)) new_character_along(x, names = base::names(x)) new_complex_along(x, names = base::names(x)) new_raw_along(x, names = base::names(x)) new_list_along(x, names = base::names(x))
x |
A vector. |
names |
Names for the new vector. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.