I am trying to make a count summary based on months. My data does not have some months represented in the data, but do not have nulls. So, I am trying to make a cross tabulation table but it is not working because of the different sizes.
This is my code:
Df1<-DF2 %>% filter(Type == "Color")%>% group_by(MONTH) %>%
summarise(Count=n())
And I am getting
DF1
Month Count
1 100
2 200
3 300
4 400
5 500
6 600
7 700
8 800
9 900
And that is it. So I cannot use the table function with another summarized dataframe with all 12 months. Thank you