I have this code
g=ggplot(a, aes(x = TIME, y = DV,group = ID))
g + geom_point(data = a, colour="red", size=2) +
theme_bw() +
geom_smooth(method = 'loess', se = FALSE,colour="black") +
facet_wrap( ~ ID, ncol = 4,nrow = 6, scales = 'free')
I get a plot with 6*4 = 24 facets on one page. How can I split it in 2 pages, with 12 individual plots in each page?