Zero order interpolation function

Mainly present to allow the use of it in IQRmodels.

interp0(x, y, xi)

Arguments

x

Vector with numeric values

y

Vector with numeric values

xi

Value for which to interpolate

Value

Interpolated value (y(xi))

See also