Learn R Programming

mizer (version 3.4.0)

interpolate_in_log_size: Interpolate a series linearly in the logarithm of size

Description

The size grid is logarithmic, so the interpolation is too. A series of a single point can only speak for the coordinate it sits at, and a coordinate that is not positive has no logarithm, so those two cases fall back to matching the coordinates exactly and to a linear interpolation respectively.

Usage

interpolate_in_log_size(x, y, xout)

Value

The interpolated values, NA where xout is outside the range of x.

Arguments

x, y

The coordinates and values of the series.

xout

The coordinates to interpolate onto.