soft: Soft thresholding for elnet_coord

Description Usage Arguments Value

View source: R/soft.R

Description

Soft thresholding for elnet_coord

Usage

1
soft(rx, lambda, alpha)

Arguments

rx

rx object from elnet_coord function, product of partial residual and a column of x

lambda

lambda value specified in elnet_coord

alpha

alpha value specified in elnet_coord

Value

Soft thresholded rx value


stevebroll/stsci6520hw2 documentation built on Dec. 23, 2021, 5:32 a.m.