Reputation: 783
I have created multiple spplots
and then exported each individual spplot
as a pdf file from Rstudio.
But, now I want to merge all these individual spplots in a single window in R (arrange then row wise with 4 columns).
How can I do that?
Upvotes: 0
Views: 991
Reputation: 234
Use the following code for 2 rows and 4 columns:
par(mfrow=c(2,4))
There are a number of ways to customize plot displays in R. You can also arrange graphics by adjusting the figure region or layout configurations. I use the ebook "R Fundamentals & Graphics" as a desk reference when I'm working with graphics.
Upvotes: 1
Reputation: 3693
check par() and layout() functions... may be this could help: http://www.statmethods.net/advgraphs/layout.html
Upvotes: 1