proxL1: L1 proximal operator

Description Usage Arguments Value Author(s) References Examples

View source: R/RcppExports.R

Description

L1 proximal operator

Usage

1
proxL1(x, lambda)

Arguments

x

numeric value.

lambda

numeric value for the L1 penalty parameter.

Value

A numeric value soft-thresholded by λ, which is sign(x)(|x|-λ)_{+}.

Author(s)

Chong Ma, chongma8903@gmail.com.

References

\insertRef

ma2019structuralsmog

Examples

1
proxL1(2.0,0.5)

smog documentation built on Aug. 10, 2020, 5:07 p.m.