Created
July 7, 2016 09:08
-
-
Save nassimhaddad/880878ede3e4fa271e0c3609ae9f15f3 to your computer and use it in GitHub Desktop.
non standard evaluation with dplyr::mutate_ line by line #dplyr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cols_to_paste <- c("col1", "col2") | |
concatenation <- paste0("paste(", paste(cols_to_paste, collapse = ","), ")") | |
text_table <- the_data %>% mutate_(verbatim = concatenation) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment