I have a datfarame as shown below
I want to calculate mean of each column for each group based on A-Block and A-District
. Output will be as below
I tried summarize function from tidyverse but it is giving mean of all columns.
How we can do it using tidyverse or dplyr??
How this can be achieved using tidyverse or dplyr??