I recently opened a data frame containing log names for variables.
I wonder if It's possible to use the group_by but selecting the columns/variables by the variable order.
I mean, Can I use var1 and var2 as:
data %>% group_by(1,2) %>% count()
If var1 es the first and var2 is the second variable?
I know It's strange, but the data I have is rare.
I already tried the code above and It failed.
Thanks for your work and time.