From the course: Data Science Foundations: Data Mining in R

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Dataset: AirPassengers

Dataset: AirPassengers

From the course: Data Science Foundations: Data Mining in R

Start my 1-month free trial

Dataset: AirPassengers

- [Instructor] For our three demonstrations of time series mining, I want to use an example data set that actually comes packaged in R, in the datasets package. And it's called AirPassengers. Now to look at this, we'll load a few packages, including the datasets package. And then we simply get a little information by doing the ?Air Passengers. Remember capitalization matters here and this is a well-known dataset that says the number of monthly air passengers from 1949 to 1960 in thousands. And if you want to load the data, we just simply do data("AirPassengers"). You can see it has an empty value over here, but let's show the data just by writing its name. A time series data set is often laid out in a very compact way, especially when it's a univariate time series. This just shows just the number of passengers and nothing else. And so what you see here is we have the years listed down the left, that's normally…

Contents