Dpens | R Documentation |
work in progress, temp function
Dpens(params, type = "lasso", lambda = 1, w.alasso = NULL,
gamma = 1, a = 3.7, eps = 1e-08)
params |
coefficients. |
type |
lasso, alasso or scad. |
lambda |
smoothing parameter. |
w.alasso |
for alasso. |
gamma |
default 1. |
a |
for scad. |
eps |
tolerance. |
work in progress.
The function returns a penalty.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.