Learn R Programming

VARDetect (version 0.1.8)

shrinkage: Shrinkage function for sparse soft-thresholding

Description

Shrinkage function for sparse soft-thresholding

Usage

shrinkage(y, tau)

Value

A thresholded matrix, or vector

Arguments

y

A matrix, or a vector for thresholding

tau

A positive number, threshold