# One figure in row 1 and two figures in row 2
# row 1 is 1/3 the height of row 2
# column 2 is 1/4 the width of the column 1
attach(mtcars)
layout(matrix(c(1,1,2,3), 2, 2, byrow = TRUE),
widths=c(3,1), heights=c(1,2))
hist(wt)
hist(mpg)
hist(disp)
plot_1 <- your_ggplot_code
plot_2 <- your_ggplot_code
library(ggpubr)
#See ?ggarrange
combined_plot <- ggarrange(plot_1,
plot_2,
nrow = 2,
ncol = 1) #nrow & ncol depend on how you want to
#organize your plots