akimafun | R Documentation |
Creates an interpolating function of irregular, univariate data.
akimafun(x, y)
x |
Independent variable data |
y |
Dependent variable data |
Employs Akima's algorithm for univariate interpolation. This is a Hermite interpolation method, prescribing slopes at data points depending on the neighbouring points. It is a local method.
Adapted from the "akimaInterp" function in the pracma package, written by Hans W. Borchers. (Which is also licensed under GPLv3.)
An interpolating function, in the spirit of stats::splinefun.
Akima, Hiroshi, "A New Method of Interpolation and Smooth Curve Fitting Based on Local Procedures", 1970.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.