dspline: Tools for Computations with Discrete Splines

Discrete splines are a class of univariate piecewise polynomial functions which are analogous to splines, but whose smoothness is defined via divided differences rather than derivatives. Tools for efficient computations relating to discrete splines are provided here. These tools include discrete differentiation and integration, various matrix computations with discrete derivative or discrete spline bases matrices, and interpolation within discrete spline spaces. These techniques are described in Tibshirani (2020) <doi:10.48550/arXiv.2003.03886>.

Package details

AuthorLogan Brooks [ctb], Addison Hu [aut], Daniel McDonald [ctb], Ryan Tibshirani [aut, cre, cph]
MaintainerRyan Tibshirani <ryantibs@gmail.com>
LicenseMIT + file LICENSE
Version1.0.2
URL https://github.com/glmgen/dspline https://glmgen.github.io/dspline/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dspline")

Try the dspline package in your browser

Any scripts or data that you put into this service are public.

dspline documentation built on June 8, 2025, 9:40 p.m.