The R package splines2 is a supplementary package on splines providing functions constructing B-splines, integral of B-splines, monotone splines (M-splines) and its integral (I-splines), convex splines (C-splines), and their derivatives of given order. Piecewise constant basis is allowed for B-spline and M-spline basis.

## Installation of CRAN Version

You can install the released version from CRAN.

install.packages("splines2")

## Development

The latest version of package is under development at GitHub in branch dev. If it is able to pass the building check by Travis CI, you may consider installing it with the help of remotes by

if (! require(remotes)) install.packages("remotes")
remotes::install_github("wenjie2wang/splines2", ref = "dev")

## Getting Started

The package vignette provides a quick demonstration for the basic usage of the main functions.