splineInt: Integrating splines

Description Usage Arguments Value

View source: R/testfunctions_splines.R

Description

This function simply integrates the splines.

Usage

1
splineInt(ub, lb, knots, degree, intercept = FALSE)

Arguments

ub

scalar, upperbound of integral.

lb

scalar, lowerbound of integral.

knots

vector, knots of the spline.

degree

scalar, degre of 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.


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