Skip to Main Content
George Mason University InfoGuides

Software: Learn R

Resources to learn and use the Open Source Statistical software R (R-Project)

ggplot2 is universally considered the best package for general graphing and is part of the tidyverse (see Data Management).

 

  • The function name is ggplot() - without the 2. 
  • There is some graphing in base r--e.g., plot()--that can be quick and easy for exploration, but few people use lattice any more.

ggplot2 helper packages

  • esquiesse - Point-and-Click interface to create a single graph from cleaned/prepared data and/or to learn ggplot syntax.
    • Tableau-like workflow helps build and refine a single graph using drag and drop. Automatically chooses chart types based on data types.
    • Produces nice, clean code.
    • Allows for specifying variable types on import (e.g., create factors), transforming values (e.g., log), and filtering by value
  • GGally - Good for bivariate graphing with functions like ggpairs()
  • ggpubr - Easily create Publication-Ready Plots

Interactive Graphics

More ggplot2 Tutorials

Graph Galleries with Example Code