s-baumann/schumaker: Schumaker Shape-Preserving Spline

This is a shape preserving spline which is guaranteed to be monotonic and concave or convex if the data is monotonic and concave or convex. It does not use any optimisation and is therefore quick and smoothly converges to a fixed point in economic dynamics problems including value function iteration. It also automatically gives the first two derivatives of the spline and options for determining behaviour when evaluated outside the interpolation domain.

Getting started

Package details

AuthorStuart Baumann [aut, cre], Margaryta Klymak[ctb]
MaintainerStuart Baumann <[email protected]>
LicenseMIT + file LICENSE
Version0.3
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("s-baumann/schumaker")
s-baumann/schumaker documentation built on Jan. 6, 2019, 12:04 a.m.