Linear Extrapolation
approxExtrap(x, y, xout, method = "linear", n = 50, rule = 2, f = 0, ties = "ordered", na.rm = FALSE)
Duplicates in x
(and corresponding y
elements) are removed
before using approx
.
a vector the same length as xout
Frank Harrell
approxExtrap(1:3,1:3,xout=c(0,4))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.