> Sarah Goslee
> on Wed, 30 May 2018 05:03:56 -0400 writes:
> Hi,
> You're mixing base plot and ggplot2 grid graphics, which as you've
> discovered doesn't work.
> Here's av strategy that does:
> https://cran.r-project.org/web/packages/egg/vignettes/Ecosystem.html
Hi,
You're mixing base plot and ggplot2 grid graphics, which as you've
discovered doesn't work.
Here's av strategy that does:
https://cran.r-project.org/web/packages/egg/vignettes/Ecosystem.html
This vignette has a good overview, well as info specific to that package.
Sarah
On Wed, May 30, 20
ing disclaimer:
https://www.precheza.cz/en/01-disclaimer/
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of greg holly
> Sent: Wednesday, May 30, 2018 10:43 AM
> To: r-help mailing list
> Subject: [R] par(mfrow=c(3,4)) problem
>
> Hi a
You might find the patchwork library helpful (plot_layout function)
https://github.com/thomasp85/patchwork
I'm not sure if it's on CRAN but you can devtools::github_install it.
Cheers,
Alex
On Wed, May 30, 2018 at 6:42 PM, greg holly wrote:
> Hi all;
>
> I need to put 12 different plot2 into
Hi all;
I need to put 12 different plot2 into the same matrix. So my array for the
matrix will be par(mfrow=c(3,4)). I am running ggplot2 to produce my 12
plots. For some reason, par(mfrow=c(3,4)) did not turn out 3*4 matrix.
my basic R codes for each plot is
par(mfrow=c(3,4))
library(ggplot2)
p
5 matches
Mail list logo