B-Spline Interpolation and Regression
Overview
Build and use B-splines for interpolation and regression. In case of regression, equality constraints as well as monotonicity and/or positivity of B-spline weights can be imposed. Moreover, knot positions can be on regular grid or be part of optimized parameters too (in addition to the spline weights). For this end, 'bspline' is able to calculate Jacobian of basis vectors as function of knot positions. User is provided with functions calculating spline values at arbitrary points. These functions can be differentiated and integrated to obtain B-splines calculating derivatives/integrals at any point. B-splines of this package can simultaneously operate on a series of curves sharing the same set of knots. 'bspline' is written with concern about computing performance that's why the basis and Jacobian calculation is implemented in C++. The rest is implemented in R but without notable impact on computing speed.
- generalized the use of polynomial coefficients instead of matrix approach where appropriate
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 19includes a package overview page
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 33%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Releases over time
Commits over time
Checks run against github.com/mathscell/bspline on 2026-10-21.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing bspline adds 7 packages (5 with compiled code, 3.0 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, glue 127 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.6.0Latest
- RR 4.6.0 released · 2026-04-24
- 2.5.12026-01-27 · diff ↗
- 2.5.02025-05-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.4.02025-03-12 · diff ↗
- 2.3.0
- 2.2.2
- RR 4.4.0 released · 2024-04-24
- 2.2
- RR 4.3.0 released · 2023-04-21
- 2.1
- RR 4.2.0 released · 2022-04-22
- 2.0.1
- 1.0.2
- 1.0.12022-03-14
Show 1 earlier eventHide 1 earlier event
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-14
- Total releases
- 11 / 4 yrs
- License
- GPL-2 OSI
- Copyright
- INRAE/INSA/CNRS
- Download size
- 33 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bspline")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.