hramp: Approximation to the ramp function

Description Usage Arguments See Also Examples

View source: R/hramp.R

Description

Approximation to the ramp function.

Usage

1
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

1
2
x <- seq(-2, 2, length=200)
plot(x, hramp(x, lower=0, eps=1))

qrnn documentation built on Dec. 12, 2017, 1:03 a.m.