I have created a pdf file containing 6 map plots, but I would like for them to be side by side in pairs rather than each being on separate pages as they are right now (At the moment all six plots are on six different pages). When complete, there should be 3 pages with pairs of side-by-side plots on each page.
As well as this, I wanted to append those plots to an existing pdf which contains some descriptive statistics.
Whilst I understand these could all be done using other software and toolkits, they aren't applicable for my task, as I am creating a function which carries out statistical analyses, creates the aforementioned plots, and then puts them into a pdf.
The following is the code I used to create the original PDF:
pdf("Map Prints.pdf")
print(map1)
print(map2)
print(map3)
print(map4)
print(map5)
print(map6)
dev.off()
Any help is much appreciated.