table(df$col1,df$col2) does exactly the same as df %>% count(col1, col2). No reason to use bloated tidyverse when base R can do it :)
EDIT: actually there's a difference: count will not include cases with 0 occurrences. It may or may not be desirable.
• 0 views
•
link