ggplot2
has its own perfect reference website http://ggplot2.tidyverse.org/.
Most of the time, it is more convenient to adapt the structure or content of the plotted data (e.g. a data.frame
) than adjusting things within the plot afterwards.
RStudio publishes a very helpful "Data Visualization with ggplot2" cheatsheet that can be found here.