Dear R users,
I have created one monthly plot with facet_wrap. So in the plot I have 3 rows and 4 columns. Now I want to set my common y axis for each rows e.g 1st row should have one common y values, same goes with the 2nd and 3rd rows.
I tried but not able to do it. plot is attached
I used
ggplot(data = PB, aes(x = new_date, y = Mean, group = 1))+
geom_line(aes(color = experiment)) +
theme(legend.title=element_blank()) +
facet_wrap( ~MonthAbb,scales = "free_y", nrow = 3)
I