How to get summaries at different levels

FYI, cross-posting is fine questions on this site, we just ask that you link to the question on other sites. :slightly_smiling_face: See the FAQ on cross-posting.

Here's the link to the same question on Stack Overflow: dataframe - Summarize data at different aggregate levels - R and tidyverse - Stack Overflow.

1 Like