Soft: Soft Thresholding

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Soft Thresholding

Usage

1
Soft(z, lambda = 0)

Arguments

z

input numeric object

lambda

threshold

Value

output numeric object

Examples

1
Soft(c(-1, 0, 2, 3), 1)

XiaoqiLu/PhD-Thesis documentation built on March 1, 2021, 10:49 a.m.