shrinkage: Shrinkage function for sparse soft-thresholding

Description Usage Arguments Value

View source: R/LSVAR.R

Description

Shrinkage function for sparse soft-thresholding

Usage

1
shrinkage(y, tau)

Arguments

y

A matrix, or a vector for thresholding

tau

A positive number, threshold

Value

A thresholded matrix, or vector


LSVAR documentation built on May 26, 2021, 5:07 p.m.