2.1 Introduction

Load the ggplot2 third-party package.

library("ggplot2")


Load the diamonds dataset into memory.

data("diamonds")


View the diamonds dataset like a spreadsheet.

View(diamonds)