Table of contents

 

A new way of thinking about graphics

What is ggplot

ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics.

You provide the data, tell ggplot2 how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.

Installation

It is in cran, so it is easy:

Remember than in your script the install.packages() command should allways be commented and at the beginning of the script.

Cheatsheet

There is an official cheatsheet here: https://github.com/rstudio/cheatsheets/raw/master/data-visualization-2.1.pdf