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

You can install the released version from CRAN.

install.packages("splines2", dependencies = TRUE)

Development

The latest version of package is under development at GitHub in branch 'dev'. You may consider installing the latest version with the help of devtools if it is able to pass the building check by Travis CI.

if (! require(devtools)) install.packages("devtools", dependencies = TRUE)
devtools::install_git("git://github.com/wenjie2wang/splines2.git", branch = "dev")

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

9,251

Version

0.2.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenjie Wang

Last Published

October 8th, 2016

Functions in splines2 (0.2.1)

splines2

splines2: Regression Spline Functions and Classes Too
predict

Evaluate a Spline Basis
iSpline

I-Spline Basis for Polynomial Splines
cSpline

C-Spline Basis for Polynomial Splines
ibs

Integral of B-Spline Basis for Polynomial Splines
print

Print out spline basis matrix
bSpline

B-Spline Basis for Polynomial Splines
mSpline

M-Spline Basis for Polynomial Splines