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.
This exercise is part of the course
Introduction to Anomaly Detection in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# View contents of dataset
head(river)
# Show the time series of nitrate concentrations with time
plot(___ ~ ___, data = river, type = ___)