softhreshold: MM Algorithm - Softhreshold Function

Description Usage Arguments Author(s) Examples

View source: R/mmalgorithm.R

Description

softhreshold Function for computing the softhreshold

Usage

1
softhreshold(x, lambda)

Arguments

x

Vector of values to be softhresholded

lambda

Softhreshold parameter

Author(s)

Jocelyn T. Chi

Examples

1
2
x <- seq(-10,10,1)
softhreshold(x,lambda=3)

gettingtothebottom documentation built on May 29, 2017, 8:28 p.m.