>>>>> Jeff Newmiller >>>>> on Fri, 05 Mar 2021 10:09:41 -0800 writes: > Your example could probably be resolved with approx. If > you want a more robust solution, it looks like the fBasics > package can do spline interpolation. base R's spline package does spline interpolation !! Martin