Get startedGet started for free

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.

This exercise is part of the course

Introduction to Anomaly Detection in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Explore contents of dataset
___(___)
Edit and Run Code