Package: splines2 0.5.3
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:
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')) |
Bug tracker:https://github.com/wenjie2wang/splines2/issues
Pkgdown site:https://wwenjie.org
Last updated 6 months agofrom:1034d62a4b. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 06 2024 |
R-4.5-linux-x86_64 | OK | Dec 06 2024 |
Exports:bernsteinPolybpolybspbSplinecspcSplinedbsibsispiSplinemspmSplinenaturalSplinensknsp
Dependencies:RcppRcppArmadillo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Generalized Bernstein Polynomial Basis Functions | bernsteinPoly bpoly |
B-Spline Basis for Polynomial Splines | bsp bSpline dbs ibs |
C-Spline Basis for Polynomial Splines | csp cSpline |
Derivatives of Spline Basis Functions | deriv deriv.BernsteinPoly deriv.BSpline deriv.CSpline deriv.ISpline deriv.MSpline deriv.NaturalSpline deriv.NaturalSplineK |
I-Spline Basis for Polynomial Splines | isp iSpline |
Extract Knots from the Given Object | knots knots.splines2 |
M-Spline Basis for Polynomial Splines | msp mSpline |
Natural Cubic Spline Basis for Polynomial Splines | naturalSpline nsk nsp |
Visualize Spline Basis Functions | plot.splines2 |
Compute Spline Function for Given Coefficients | predict predict.BernsteinPoly predict.BSpline predict.CSpline predict.ISpline predict.MSpline predict.NaturalSpline predict.NaturalSplineK |
Update Spline Basis Functions | update update.BernsteinPoly update.BSpline update.CSpline update.ISpline update.MSpline update.NaturalSpline update.NaturalSplineK |