library(ggplot2)
library(patchwork)
<- ggplot(mtcars) + geom_point(aes(mpg, disp)) + ggtitle("График 1")
p1 <- ggplot(mtcars) + geom_boxplot(aes(gear, disp, group = gear)) + ggtitle("График 2")
p2 <- ggplot(mtcars) + geom_smooth(aes(disp, qsec)) + ggtitle("График 3")
p3 <- ggplot(mtcars) + geom_bar(aes(carb)) + ggtitle("График 4")
p4
| p2 | p3) /
(p1 p4