Chapter 3. R Lesson I – Graphics System

This chapter covers:

  • The R graphic system and the graphic devices
  • Using the base plotting system
  • Creating charts with the lattice system
  • The grammar of graphics and ggplot2
  • Using the ggplot2 package for simple and advanced graph creation
  • Introducing the ggvis package
  • Building interactive plots with different R packages

The graphic system in R

Everywhere in our daily lives and in almost all professional fields, plots surround us. Most people find it very difficult to detect and understand the cause-effect relationships in mere numerical tables. Visualizing data helps humans quickly capture relationships between one or more variables. Therefore, the graphical system is an integral part of R.

An introduction to the graphic ...

Get Mastering RStudio – Develop, Communicate, and Collaborate with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.