splinesBasis {ivmte} | R Documentation |
Evaluating splines basis functions
Description
This function evaluates the splines basis functions. Unlike the
bSpline
in the splines2
package, this function
returns the value of a single spline basis, rather than a vector of
values for all the spline basis functions.
Usage
splinesBasis(x, knots, degree, intercept = TRUE, i, boundary.knots = c(0, 1))
Arguments
x |
vector, the values at which to evaluate the basis function. |
knots |
vector, the internal knots. |
degree |
integer, the degree of the splines. |
intercept |
boolean, default set to |
i |
integer, the basis component to be evaluated. |
boundary.knots |
vector, default is |
Value
scalar.
[Package ivmte version 1.4.0 Index]