novicegeek
novicegeek

Reputation: 783

How to display multiple spplots in one window in R?

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

Answers (2)

user3569035
user3569035

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. Layout

Figure region

Upvotes: 1

JstRoRR
JstRoRR

Reputation: 3693

check par() and layout() functions... may be this could help: http://www.statmethods.net/advgraphs/layout.html

Upvotes: 1

Related Questions