anomaly project using R