soft | R Documentation |
Soft-thresholding operator
soft(x, l)
x |
The thing to be thresholded |
l |
The threshold; must either be length 1 or same langth as x |
soft(-10:10, 2.5)
soft(rep(5.5, 10), 1:10)
soft(matrix(1:30, ncol=3), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.