Resources for ggplot R
If you are debating among the three grand options of base graphics, lattice grid graphics, and ggplot
graphs, you are not alone. I believe the following articles can give you more ideas and probably help you make a decision.
- How to Create A Lattice Plot in R
- What’s the difference between ggplot and basic plot in R?
- Why I don’t use ggplot2 — Jeff Leek
- Tufte in R
- Why I use ggplot2 — David Robinson
- Don’t teach built-in plotting to beginners (teach ggplot2)
The following resources can help you get started with ggplot
in a very efficient way.
- The chapter data visualization talks about the basic ideas and grammars used in not only
ggplot
, but also in graphs in general; - The chapter graphics for communication talks about tunning to make better graphs and publication. Some proposals about how to format your graphs appears very provocative.
- This tutorial covers some practical tunning exercises that might not be included in the previous tutorials.
- Be Awesome in ggplot2 talks about many examples of using the package with codes. I noticed that many articles directly or indicrectly relate to this article.
To dive deeper into the library and the concept of the graph grammar, please refer to the following list.
- Hadley Wickham’s book ggplot2 — Elegant Graphics for Data Analytics is a great book to read. The author of the book is also credited as the author of
ggplot
. - The paper A Layered Grammer of Graphics introduces the concept of graphic grammars implemented in
ggplot
. This paper will help us producers to understand how to conceptualize graphs and express them. - Tufte in R provides some quick solutions of science-y looking graphs in base graph functions, lattice functions, and ggplot functions with the original purpose to reproduce visualizations from the book The Visual Display of Quantitative Information by Edward Tufte.
Last but not the least, I must not include the ggplot
cheat sheet for R and the documentation.
Please let me know if you have found other resources in this regard. Thank you.