Learn R Programming

gettingtothebottom (version 3.2)

plot_softhreshold: MM Algorithm - Plot the Softhreshold Function

Description

plot_softhreshold Function for plotting the softhreshold function

Usage

plot_softhreshold(from = -5, to = 5, lambda = 3)

Arguments

from
The starting value of the sequence of inputs into the function
to
The ending value of the sequence of inputs into the function
lambda
Lambda value for softhreshold function

Examples

Run this code
plot_softhreshold(-5,5,3)

Run the code above in your browser using DataLab