standard error

Introduction to ggplot2 (part 2)

Getting bored with the plots you can make using the base R plot? Probably time to spice things up with ggplot! You can read through this article, or you can watch the tutorial video below (or both!). Let’s get started. First load the ggplot2 library, since thats what we’re here to learn! library(ggplot2) We’re going to be looking at the msleep dataset (same one we were looking at in the last tutorial )