How to conduct chi square post hoc tests for this data in R with Holm correction for multiple comparisons and present results in nice dataframe where I can see what is compared with what and where statistical significance occur, between which pairs:
df <- data.frame(
Group = c("Group1", "Group2", "Group1", "Group2", "Group1", "Group2"),
Category = c("A", "A", "B", "B", "C", "C"),
Freq = c(20, 40, 30, 25, 50, 35)
)