Derivative of the Huber norm function

Share:

Description

Derivative of the Huber norm function.

Usage

1
huber.prime(x, eps)

Arguments

x

numeric vector.

eps

epsilon value used in huber and related functions.

See Also

huber

Examples

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