R Tutorial: Detecting anomalies in data