schumaker: Schumaker Shape-Preserving Spline

This is a shape preserving spline <doi:10.1137/0720057> 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.

Package details

AuthorStuart Baumann [aut, cre], Margaryta Klymak[aut]
MaintainerStuart Baumann <Stuart@StuartBaumann.com>
LicenseMIT + file LICENSE
Version1.2.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("schumaker")

Try the schumaker package in your browser

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

schumaker documentation built on Sept. 10, 2021, 1:06 a.m.