Hi,
is a command for base R plotting and will not work in interplay with the {ggplot2} package. If you want to combine ggplots, have a look at the patchwork and cowplot packages.