Skip to content
Prev 24940 / 398502 Next

interpolation

"Marwan Khawaja" <mk36 at aub.edu.lb> writes:
I'm not sure if I understand what you are asking.  The phrase "back in
time" seems to indicate extrapolation rather than interpolation.
You could try interpSpline in the splines package.  That produces a
"natural spline" that can be used for interpolation within the range
of the data or extrapolation beyond the range of the data.  Linear
extrapolation, based on the derivative of the fitted function at the
end points, is used.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._