powered by
Add a suffix to variables in a list of expressions
add_suffix_to_vars(order, vars, suffix)
The list of expression where for each element the suffix (suffix) is added to every symbol specified for vars
suffix
vars
List of expressions
Permitted Values: list of variables or desc(<variable>) function calls created by exprs(), e.g., exprs(ADT, desc(AVAL))
desc(<variable>)
exprs()
exprs(ADT, desc(AVAL))
Variables to change
Permitted Values: list of variables created by exprs()
Suffix
Permitted Values: A character scalar
Helpers for working with Quosures: expr_c(), replace_symbol_in_expr(), replace_values_by_names()
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")
Run the code above in your browser using DataLab