I have 8 plots (P1
,P2
,P3
,P4
,P5
,P6
,P7
,P8
) and for illustration purposes, I want to display them all together (that is, in a 3x3 graph). However, also for illustration purposes, I want to display P1
and P2
in the upper row, P3
,P4
and P5
in the middle row, and P6
,P7
andP8
in the lower row.
How can I arrange the plots in order to get that? I would like to leave the gap in the upper right corner for instance. So far, I've done this:
grid.arrange(P1,P2,P3,P4,P5,P6,P7,P8, ncol=3)
Does anyone know how to do it?