proxL2 | R Documentation |
L2 proximal operator
proxL2(x, lambda)
x |
A vector of p numerical values. |
lambda |
numeric value for the L2 penalty parameter. |
A numeric vector soft-thresholded by λ as a group, which is (1-\frac{λ √{p}}{√{x_1^2+\cdots+x_p^2}})_{+}\bm{x}.
Chong Ma, chongma8903@gmail.com.
ma2019structuralsmog
proxL2(rnorm(6,2,1),0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.