I want to combine 3 image
plots and one ggplot
in one figure.
when I use
par(mfrow=c(4,1))
, it plots 3image
s in one figure, and theggplot
in another separate figure.And when I use
plot_grid(p1, p2,p3,p4, labels=c("A", "B","C","D"), ncol = 2, nrow = 2)
, which is used for combiningggplot
s, it plots only the ggplot in its location, and other image plots are plotted separately.what is the solution to have all of this four plots in one figure?