splineInt: Integrating splines
Description
This function simply integrates the splines.
Usage
splineInt(ub, lb, knots, degree, intercept = FALSE)
Arguments
ub
scalar, upperbound of integral.
lb
scalar, lowerbound of integral.
knots
vector, knots of the spline.
intercept
boolean, set to TRUE if spline basis should
include a component so that the basis sums to 1.
Value
vector, each component being the integral of a basis.