Derivative of the Huber norm approximation to the ramp function

Description

Derivative of the Huber norm approximation to the ramp function.

Usage

1
hramp.prime(x, lower, eps)

Arguments

x

numeric vector.

lower

left censoring point.

eps

epsilon value used in huber and related functions.

See Also

hramp, huber

Examples

1
2
x <- seq(-10, 10, length = 100)
plot(x, hramp.prime(x, lower = 0, eps = 1))