Learn R Programming

⚠️There's a newer version (0.5.4) of this package.Take me there.

splines2

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

Installation of CRAN Version

CRAN_Status_Badge Build Status Downloads from the RStudio CRAN mirror

You can install the released version from CRAN.

install.packages("splines2")

Development

Build Status

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 devtools by

devtools::install_github("wenjie2wang/splines2", ref = "dev")

or cloning this reposotory to local and install by makefile as follows:

git clone https://github.com/wenjie2wang/splines2.git
cd splines2
make install

Get Started

License

The R package splines2 is free software: You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version (at your option). See the GNU General Public License for details.

The R package splines2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Copy Link

Version

Install

install.packages('splines2')

Monthly Downloads

8,326

Version

0.2.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenjie Wang

Last Published

December 10th, 2016

Functions in splines2 (0.2.3)

bSpline

B-Spline Basis for Polynomial Splines
predict

Evaluate a Spline Basis
print

Print out spline basis matrix
iSpline

I-Spline Basis for Polynomial Splines
splines2

splines2: Regression Spline Functions and Classes Too
cSpline

C-Spline Basis for Polynomial Splines
mSpline

M-Spline Basis for Polynomial Splines
ibs

Integral of B-Spline Basis for Polynomial Splines