CommencerCommencer gratuitement

Plotting time series with autoplot

Great job so far! In this course, you'll be working with a few different time series datasets – one of which is the maunaloa dataset, consisting of observations of atmospheric carbon dioxide (CO2) taken at the Mauna Loa observatory in Hawaii.

One of the most critical steps in data science is to explore your data — this gives you a feel for what your data looks like, such as where outliers may be, or what the general trend in the data is.

In this exercise, you'll practice creating an autoplot from the ggplot2 package.

The ggplot2 package and the maunaloa time series are loaded for you.

Cet exercice fait partie du cours

Manipulating Time Series Data in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Create the first autoplot
___
Modifier et exécuter le code