Dpens: Differentiable penalties

Description Usage Arguments Details Value

View source: R/Dpens.R

Description

work in progress, temp function

Usage

1
2
3
Dpens(params, type = "lasso", lambda = 1, w.alasso = NULL, 
      gamma = 1, a = 3.7, eps = 1e-08)
          

Arguments

params

coefficients.

type

lasso, alasso or scad.

lambda

smoothing parameter.

w.alasso

for alasso.

gamma

default 1.

a

for scad.

eps

tolerance.

Details

work in progress.

Value

The function returns a penalty.


KironmoyDas/KD-STAT0035-GMupdate documentation built on Feb. 15, 2021, 12:17 a.m.