altDefSplinesBasis {ivmte} | R Documentation |
(Alternative) Defining single splines basis functions, with interactions
Description
This function returns a numerically integrable function
corresponding to a single splines basis function. It was not
implemented because it was slower than using the function from the
splines2
package.
Usage
altDefSplinesBasis(splineslist, j, l, v = 1)
Arguments
splineslist |
a list of splines commands and names of
variables that interact with the splines. This is generated
using the command |
j |
the index for the spline for which to generate the basis functions. |
l |
the index for the basis. |
v |
a constant that multiplies the spline basis. |
Value
a vectorized function corresponding to a single splines basis function that can be numerically integrated.
[Package ivmte version 1.4.0 Index]