Drawing Diagrams with R

R provides a number of well-known high-level facilities for producing sophisticated statistical plots, including the “traditional” plots in the graphics package (R Development Core Team, 2008), the Trellis-style plots provided by lattice (Sarkar, 2008), and the grammar-of-graphics-inspired approach of ggplot2 (Wickham, 2009).

Paul Murrell

CRAN packages used

graphics, lattice, ggplot2

CRAN Task Views implied by cited packages

Graphics, Multivariate, Pharmacokinetics, Phylogenetics


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Murrell, "The R Journal: Drawing Diagrams with R", The R Journal, 2009

BibTeX citation

  author = {Murrell, Paul},
  title = {The R Journal: Drawing Diagrams with R},
  journal = {The R Journal},
  year = {2009},
  note = {https://doi.org/10.32614/RJ-2009-006},
  doi = {10.32614/RJ-2009-006},
  volume = {1},
  issue = {1},
  issn = {2073-4859},
  pages = {15-21}