de Leeuw, Jan, Kurt Hornik, and Patrick Mair. 2009. “Isotone Optimization in R: Pool-Adjacent-Violators Algorithm (PAVA) and Active Set Methods”. Journal of Statistical Software 32 (5):1-24. https://doi.org/10.18637/jss.v032.i05.