We are going to use the faithful dataset as it is pretty big and I have been meaning to experiment with it recently.
Here is a small breakdown of the column names and the details included in this dataset.
Let’s check if it’s installed first (it should be as it is an inbuilt dataset in R).
We will check for it by using these commands:
data(faithful)
head(faithful)
## eruptions waiting
## 1 3.600 79
## 2 1.800 54
## 3 3.333 74
## 4 2.283 62
## 5 4.533 85
## 6 2.883 55
names(faithful)
## [1] "eruptions" "waiting"
This should print out the first few rows. For information about the column names, we can run the names(faithful) command.