All Projects → z3tt → hands-on-ggplot2-training

z3tt / hands-on-ggplot2-training

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

Programming Languages

HTML
75241 projects

 “Hands–On Data Visualization with ggplot2” 

    Blog    Email    Twitter    Instagram    Behance    LinkedIn    BuyMeACoffee   


Material for the Pearson Live Training Session for O’Reilly

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].