Package: splines2 0.5.4.9000

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.4.9000.tar.gz
splines2_0.5.4.9000.zip(r-4.5)splines2_0.5.4.9000.zip(r-4.4)splines2_0.5.4.9000.zip(r-4.3)
splines2_0.5.4.9000.tgz(r-4.4-x86_64)splines2_0.5.4.9000.tgz(r-4.4-arm64)splines2_0.5.4.9000.tgz(r-4.3-x86_64)splines2_0.5.4.9000.tgz(r-4.3-arm64)
splines2_0.5.4.9000.tar.gz(r-4.5-noble)splines2_0.5.4.9000.tar.gz(r-4.4-noble)
splines2_0.5.4.9000.tgz(r-4.4-emscripten)splines2_0.5.4.9000.tgz(r-4.3-emscripten)
splines2.pdf |splines2.html
splines2/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

derivativeintegralrcppsplines

11.01 score 42 stars 27 packages 334 scripts 5.9k downloads 3 mentions 15 exports 2 dependencies

Last updated 3 months agofrom:c04049f4ab. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-win-x86_64OKNov 02 2024
R-4.5-linux-x86_64OKNov 02 2024
R-4.4-win-x86_64OKNov 02 2024
R-4.4-mac-x86_64OKNov 02 2024
R-4.4-mac-aarch64OKNov 02 2024
R-4.3-win-x86_64OKNov 02 2024
R-4.3-mac-x86_64OKNov 02 2024
R-4.3-mac-aarch64OKNov 02 2024

Exports:bernsteinPolybpolybspbSplinecspcSplinedbsibsispiSplinemspmSplinenaturalSplinensknsp

Dependencies:RcppRcppArmadillo

A Short Introduction to splines2

Rendered fromsplines2-intro.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-05-09
Started: 2016-08-29

Using splines2 with Rcpp

Rendered fromsplines2-wi-rcpp.Rmdusingknitr::rmarkdownon Nov 02 2024.

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

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