Learn R Programming

cubicBsplines (version 1.0.0)

Computation of a Cubic B-Spline Basis and Its Derivatives

Description

Computation of a cubic B-spline basis for arbitrary knots. It also provides the 1st and 2nd derivatives, as well as the integral of the basis elements. It is used by the author to fit penalized B-spline models, see e.g. Jullion, A. and Lambert, P. (2006) , Lambert, P. and Eilers, P.H.C. (2009) and, more recently, Lambert, P. (2021) . It is inspired by the algorithm developed by de Boor, C. (1977) .

Copy Link

Version

Install

install.packages('cubicBsplines')

Monthly Downloads

210

Version

1.0.0

License

GPL-3

Maintainer

Philippe Lambert

Last Published

July 13th, 2021

Functions in cubicBsplines (1.0.0)

IBsplines

Computation of the integral of a cubic B-spline basis over (t0,x) for a given vector of knots
D2Bsplines

Computation of the 2nd derivative of a cubic B-spline basis associated to a given vector of knots
trapeze

Trapeze integration from a vector of function values evaluated at quadrature points
D1Bsplines

Computation of the 1st derivative of a cubic B-spline basis associated to a given vector of knots
Bsplines

Computation of a cubic B-spline basis associated to a given vector of knots