Description Usage Arguments Value Examples
Computes the proximal operator of the isotonic constraint, i.e., the projection onto the set of nondecreasing vectors.
1  | prox.isotonic(x, ...)
 | 
x | 
 The input vector  | 
The projection of x onto the set of nondecreasing vectors,
obtained by solving an isotonic regression.
1  | prox.isotonic(c(1,3,-2,4,5))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.