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 <Stuart.Baumann@ed.ac.uk>
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("remotes")
remotes::install_github("s-baumann/schumaker")
s-baumann/schumaker documentation built on May 23, 2019, 5:07 p.m.