Skip to content

Material for the Pearson Live Training Session “Hands–On Data Visualization with ggplot2” for O’Reilly

License

Notifications You must be signed in to change notification settings

benj-nguyen/hands-on-ggplot2-training

Repository files navigation

“Hands–On Data Visualization with ggplot2”

Material for the Pearson Live Training Session for O’Reilly (Sep 3, 2021)

To get a copy of all the material, clone this repository to a directory of your choice.
If you are not familiar how to clone a repository, have a look here or download and unpack this zip folder.

To run any of the materials locally on your own machine, you will need the following:

Installation

You can install all required R packages at once by running the following code in the R command line:

# Package names
packages <- c("tidyverse", "cowplot", "ggforce", "ggrepel", "ggtext", "magick", "patchwork", "ragg", "rnaturalearth", "sf")
install.packages(packages)

To run the code, open up Rstudio. Copy–paste the code in the console pane and hit enter. Several messages should pop up. Scan these messages that are returned for errors and troubleshoot them if necessary. Warnings and other informational messages can be ignored.

Starting with the Training

Double-click on the hands-on-ggplot2.Rproj file. Rstudio opens up with the working directory set to the same folder (where the Rproj file is placed). Now, you can open any script from the files pane—we start with 01-grammar.Rmd.

About

Material for the Pearson Live Training Session “Hands–On Data Visualization with ggplot2” for O’Reilly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages