akimafun: univariate Akima interpolation

View source: R/dsp_tools.r

akimafunR Documentation

univariate Akima interpolation

Description

Creates an interpolating function of irregular, univariate data.

Usage

akimafun(x, y)

Arguments

x

Independent variable data

y

Dependent variable data

Details

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.)

Value

An interpolating function, in the spirit of stats::splinefun.

References

Akima, Hiroshi, "A New Method of Interpolation and Smooth Curve Fitting Based on Local Procedures", 1970.


ime-luebeck/semgsim documentation built on April 14, 2022, 11:02 p.m.