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?
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.
检查par()和layout()函数......可能会有所帮助: http : //www.statmethods.net/advgraphs/layout.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.