Session Ready
Exercise

Exploring the river nitrate data

In this exercise, you'll explore the river dataset which will be used throughout this chapter to illustrate the use of common anomaly detection techniques. The river data is a data.frame that contains the following three columns:

  • index - integers describing the order of the nitrate observations
  • nitrate - monthly concentrations of dissolved nitrate found in a river
  • month - a factor containing the month for each nitrate observation

You will explore the nitrate column using summary statistics and boxplots to assess whether there may be point anomalies present.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Print the first few lines of the river data to get a sense for the contents of the dataset.