Trying to do something like this:
my_function <- function(dat){ dat <- dat %>% mutate(group_vars(dat) = paste0(group_vars(dat), value2)) }
And what is happening? We really need more code and some data.
See FAQ: How to do a minimal reproducible example ( reprex ) for beginners
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.