de Leeuw, Jan, et al. “Isotone Optimization in R: Pool-Adjacent-Violators Algorithm (PAVA) and Active Set Methods”.
Journal of Statistical Software
, vol. 32, no. 5, Oct. 2009, pp. 1-24, doi:10.18637/jss.v032.i05.