Package: splines2 0.5.3

Wenjie Wang

splines2: Regression Spline Functions and Classes

Constructs basis functions of B-splines, M-splines, I-splines, convex splines (C-splines), periodic splines, natural cubic splines, generalized Bernstein polynomials, their derivatives, and integrals (except C-splines) by closed-form recursive formulas. It also contains a C++ head-only library integrated with Rcpp. See Wang and Yan (2021) <doi:10.6339/21-JDS1020> for details.

Authors:Wenjie Wang [aut, cre], Jun Yan [aut]

splines2_0.5.3.tar.gz
splines2_0.5.3.tar.gz(r-4.5-noble)splines2_0.5.3.tar.gz(r-4.4-noble)
splines2_0.5.3.tgz(r-4.4-emscripten)splines2_0.5.3.tgz(r-4.3-emscripten)
splines2.pdf |splines2.html
splines2/json (API)
NEWS

# Install 'splines2' in R:
install.packages('splines2', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/wenjie2wang/splines2/issues

Pkgdown:https://wwenjie.org

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

openblascpp

8.54 score 3 stars 28 packages 378 scripts 6.0k downloads 3 mentions 15 exports 2 dependencies

Last updated 5 months agofrom:1034d62a4b. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-linux-x86_64OKDec 06 2024

Exports:bernsteinPolybpolybspbSplinecspcSplinedbsibsispiSplinemspmSplinenaturalSplinensknsp

Dependencies:RcppRcppArmadillo

A Short Introduction to splines2

Rendered fromsplines2-intro.Rmdusingknitr::rmarkdownon Dec 06 2024.

Last update: 2024-05-10
Started: 2016-10-08

Using splines2 with Rcpp

Rendered fromsplines2-wi-rcpp.Rmdusingknitr::rmarkdownon Dec 06 2024.

Last update: 2023-06-11
Started: 2020-07-09

Readme and manuals

Help Manual

Help pageTopics
Generalized Bernstein Polynomial Basis FunctionsbernsteinPoly bpoly
B-Spline Basis for Polynomial Splinesbsp bSpline dbs ibs
C-Spline Basis for Polynomial Splinescsp cSpline
Derivatives of Spline Basis Functionsderiv deriv.BernsteinPoly deriv.BSpline deriv.CSpline deriv.ISpline deriv.MSpline deriv.NaturalSpline deriv.NaturalSplineK
I-Spline Basis for Polynomial Splinesisp iSpline
Extract Knots from the Given Objectknots knots.splines2
M-Spline Basis for Polynomial Splinesmsp mSpline
Natural Cubic Spline Basis for Polynomial SplinesnaturalSpline nsk nsp
Visualize Spline Basis Functionsplot.splines2
Compute Spline Function for Given Coefficientspredict predict.BernsteinPoly predict.BSpline predict.CSpline predict.ISpline predict.MSpline predict.NaturalSpline predict.NaturalSplineK
Update Spline Basis Functionsupdate update.BernsteinPoly update.BSpline update.CSpline update.ISpline update.MSpline update.NaturalSpline update.NaturalSplineK