R ggplot2 arrangeGrob() – arrange ggplots on a page
arrangeGrob is in “gridExtra” package. Why arrangeGrob()? it returns a frame grob which can be saved by ggsave(). grid.aarange( ), however, directly plots on a graphics device.
arrangeGrob is in “gridExtra” package. Why arrangeGrob()? it returns a frame grob which can be saved by ggsave(). grid.aarange( ), however, directly plots on a graphics device.
A package called, scales, is very useful for controlling the x-axis on a time-series ggplot.We will mainly use date_breaks() and date_format() functions in “scales” package to control the time-axis.