Introduction to R Package: ggplot2

Nov 4, 2021, 10:00 am12:00 pm
Julis Romo Rabinowitz 399
Event Description

This workshop, one of Princeton Research Computing’s Fall 2021 Workshop Sessions, provides an introduction to the R graphics package ggplot2. Time is spent describing the main concepts of the grammar that define the graphical building blocks, and exploring many examples that show how to use ggplot2's layered approach to create basic and more complex graphs


This is an introductory ggplot2 workshop and is intended for those with little or no experience using ggplot2. It is helpful for attendees to have previously used R and feel comfortable working with R data frames, but those with no prior experience using R are welcome to attend.


Lecture and demonstration are used to convey concepts and illustrate examples. Attendees are provided with an R script containing all code for the graphs presented during the workshop, and are encouraged to modify and/or execute the code as examples are discussed.


It is recommended that attendees bring a laptop with R and the R package ggplot2 already installed. Having RStudio installed is also recommended.


R script and data files (Zip) 
Presentation (PDF)