Description Usage Arguments Details Value Author(s) Examples
Linearly interpolates, allowing multiple y-values for a given x-value.
1 |
xin |
Input x vector |
yin |
Input y vector |
xout |
x-values at which to interpolate |
mode |
How to handle x-values with multiple y-values: one of 'jump', 'data', 'all' |
Regarding the 'mode' argument: 'data' interpolates using the mean of all y-values for the given x-value, while 'jump' or 'all' uses only the y-value on the same side of the discontinuity as the element of 'xout'.
Vector of interpolated y-values corresponding to xout.
Jake Anderson
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.