Learn R Programming

qrnn (version 2.0.1)

hramp: Approximation to the ramp function

Description

Approximation to the ramp function.

Usage

hramp(x, lower, eps)

Arguments

x

numeric vector.

lower

left censoring point.

eps

epsilon value used in the approximation.

See Also

hramp.prime, huber

Examples

Run this code
# NOT RUN {
x <- seq(-2, 2, length=200)
plot(x, hramp(x, lower=0, eps=1))
# }

Run the code above in your browser using DataLab