| Soft | R Documentation |
Computes the soft-thresholding update used in SCAD, ALASSO, and LASSO penalties.
Soft(z, lambda)
z |
A numeric scalar or vector. |
lambda |
A nonnegative thresholding parameter. |
A numeric value (or vector) after soft-thresholding.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.