Beliakov, Gleb. 2011. “Fast Computation of Trimmed Means”. Journal of Statistical Software, Code Snippets 39 (2):1-6. https://doi.org/10.18637/jss.v039.c02.