threshold: Thresholding function

Description Usage Arguments Value Examples

View source: R/Thresholding.R

Description

Thresholding function

Usage

1
threshold(a, lambda, option = c("soft", "hard"))

Arguments

a

scalar

lambda

non-negative thresholding parameter

option

One of "soft" or "hard"

Value

Thresholded a

Examples

1
threshold(3, 1)

irinagain/RpackageExampleExtra documentation built on Dec. 20, 2021, 7:59 p.m.