Skip to contents

Return a function obj A spline function \(F_T(t)\) for trends is specified by a set of \(n\) interpolating points:

  • time values $$t_1, t_2, \ldots, t_n,$$

  • and corresponding \(y\) values $$y_1, y_2, \ldots, y_n.$$

Usage

makepar_F_spline(tt, yy, X = FALSE)

Arguments

tt

the nodes

yy

the y values

X

setup switch: FALSE=splinef | TRUE=splineX | 2=spline2

Value

parameters to configure the splinef or splineX case of make_function