Isotone Optimization in R: Pool-Adjacent-Violators Algorithm (PAVA) and Active Set Methods