scad_sg: Super gradient for the SCAD penalty function

Description Usage Arguments Value Examples

Description

This function define the supergradient of the SCAD penalty. Details can be found in https://arxiv.org/abs/1807.04982

Usage

1
scad_sg(x, gamma, lambda)

Arguments

x

a non-negative numeric value

gamma

hyper-tuning parameter

lambda

tuning parameter

Value

the super gradient of the SCAD penalty

Examples

1
## Not run: scad_sg(0:9,gamma=3.7,lambda=3)

YipengUva/RpESCA documentation built on July 2, 2019, 6:41 p.m.