getSmoothSplineInterpolation: Generate a smoothing spline function with the parameters of...

View source: R/interpolations.R

getSmoothSplineInterpolationR Documentation

Generate a smoothing spline function with the parameters of your choice.

Description

Produces an interpolation function of the form described in interpolations.

Usage

getSmoothSplineInterpolation(...)

Arguments

...

any arguments other than x and y to be passed to stats::smooth.spline.

Value

A function of the form described in interpolations, i.e., accepting the arguments dates.in, y.in, and dates.out and returning predictions from a smooth spline function for y.out. That function will use the arguments supplied in ....


USGS-R/loadflex documentation built on July 26, 2023, 9:54 p.m.