add_suffix_to_vars {admiraldev} | R Documentation |
Add a suffix to variables in a list of expressions
add_suffix_to_vars(order, vars, suffix)
order |
List of expressions Permitted Values: list of variables or |
vars |
Variables to change Permitted Values: list of variables created by |
suffix |
Suffix Permitted Values: A character scalar |
The list of expression where for each element the suffix (suffix
) is
added to every symbol specified for vars
Helpers for working with Quosures:
expr_c()
,
replace_symbol_in_expr()
,
replace_values_by_names()
library(dplyr, warn.conflicts = FALSE)
library(rlang)
add_suffix_to_vars(exprs(ADT, desc(AVAL), AVALC), vars = exprs(AVAL), suffix = ".join")