This script of R functions re-implements the Mathematica package [AAp1].
It was easier for me to implement in R the one-dimensional outlier detection functions in [AAp1] than to comprehend the signatures of the different R-libraries that provide/do outlier detection.
My first introduction to outlier detection was through the book [RP1] -- see the blog post [AA1].
To install use the command:
devtools::install_github("antononcube/R-packages", subdir = "OutlierIdentifiers")
[AAp1] Anton Antonov, "Implementation of one dimensional outlier identifying algorithms in Mathematica", OutlierIdentifiers.m, (2013), MathematicaForPrediction at GitHub.
[AA1] Anton Antonov, "Outlier detection in a list of numbers", (2013), MathematicaForPrediction at WordPress.
[RP1] Ronald K. Pearson, “Mining Imperfect Data: Dealing with Contamination and Incomplete Records”, SIAM, 2005.