I am not sure if what i am trying to do makes sense in R.
I want to do the something like follow:
fun <- function(df, args){
.....
df %>%
group_by(args)
.....
I am trying to pass a char vector as args, then group by the args as column name, but it does not work.
i have tried get and mget, they do not work the way i want.