Skip to content

Loess.Function.createLoessInterpolator

Christian d'Heureuse edited this page Sep 25, 2026 · 1 revision

commons-math-interpolation / Loess / createLoessInterpolator

Function: createLoessInterpolator()

function createLoessInterpolator(parms): UniFunction;

Defined in: Loess.ts:186

Returns a function that interpolates the LOESS-smoothed values of a dataset.

First, the smoothed y values of the points are computed with smooth. Then the knots for the interpolation are selected from the points: points that are closer than minXDistance to the previous knot and points with a NaN smoothed value are skipped. Finally, the knots are connected with the specified interpolation method.

Parameters

parms

LoessInterpolatorParms

The parameters.

Returns

UniFunction

A function which interpolates the smoothed dataset.

Throws

Error For the invalid input conditions described for smooth.

Clone this wiki locally