norm.Lp | R Documentation |
Compute element-wise matrix Lp-norm.
This is a helper function to shrinkage()
.
norm.Lp(x, p = 1)
x |
a |
p |
|
numeric(1)
, the absolute sum of all elements.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.