altDefSplinesBasis: (Alternative) Defining single splines basis functions, with...

Description Usage Arguments Value

View source: R/splines.R

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

1
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 removeSplines.

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.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.