Visual assessment of seasonality
The first step when analyzing time series should be to construct graphical summaries that provide insight into important features such as trend, seasonality and possible anomalies. In this exercise, you'll use several plots to explore thenitrate
concentrations as a time series and to identify the period of any seasonal patterns that might be present.
Cet exercice fait partie du cours
Introduction to Anomaly Detection in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# View contents of dataset
head(river)
# Show the time series of nitrate concentrations with time
plot(___ ~ ___, data = river, type = ___)