Skip to content

BsplineQuantReg

0.2.5Package record

'Constrained Quantile Regression with B-Splines'

1packages depend
1.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Quantile regression with B-splines under shape constraints. The initial version with cubic splines is now augmented with splines of degree 1 to 4. Constraints for degrees 3 (monotone) and 4 (monotone and convex) use the Karlin-Studden SOCP characterization for the sign of the polynomial, while other constraints applied at the knots are added as linear problems. The method for cubic splines is described in 'Abbes (2026)' doi:10.5281/zenodo.17427913. Other formulations are simple consequences of the other given references. All B-spline and polynomial functions have been rewritten for consistency. This package provides an original B-spline library for conversion between PP-form and B-spline representation, evaluation, differentiation, callable and non-callable objects, print human readable pp forms, view basis, all based on "De Boor\'s" theory. It also extends to multiple knots to catch up singularities. This feature is robust in the package including for constrained regression. This R implementation is intended for demonstration and prototyping. An equivalent Python package is available at https://pypi.org/project/BsplineQuantRegpy/.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-26
  • WARNING8 OK, 5 WARNING2026-07-22
  • OK8 OK2026-06-24
Advisories

none known

Documentation

In release 0.2.5
READMEYes · 520 wordsVignettesYes · 5 · dynamicNEWSYes · 33% structuredCitation fileYes · cites a publication
Help pages
44 (5 internal)
Examples that run
83%10 run in a plain check · 2 never run
Exported functions with examples
34%
Documented parameters
100%
Return-value docs
97%
Help pages citing references
5%

Also includes 9 demo scripts (run with demo())

Downloads

1.3K
CRAN downloads in the past year
Rank #11,253 · ~4/day · ~107/mo
Daily download trend is not available in this view yet.
28730 days
94190 days
1.3K1 year
Compare downloads with other packages →
Also on54 r2u

Repository

0Stars
0Forks
1Open issues
0Open PRs
5Releases
159Commits
2Commit identities
159 commits · Last activity 2026-10-20 · Default branch at 0.2.6, ahead of CRAN 0.2.5 (checked 2026-10-18)
Responsiveness
not measured

Releases over time

2026-07-07 · 02026-08-20 · 5
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/alexandreabbes/bsplinequantreg on 2026-10-18.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing BsplineQuantReg adds 14 packages (14 with compiled code, 17 MB of source tarballs). Heaviest: clarabel 5.7 MB, ECOSolveR 2.1 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (5)

Pick two releases to compare their code metrics.

  • 0.2.5Latest
    record
    2026-08-20 · current release · diff ↗ ·
    added 3 exports
    setup_solver, show_poly, show_pp
  • 0.2.2
    record
    2026-07-28 · diff ↗ ·
    added 5 exports
    Bspline_base_deriv, Bsplinetopp, evalpp, makpp, test_karlin_simple
  • 0.2.1
    record
    2026-07-24 · diff ↗ ·
    removed 1 export
    test_karlin_simple
    added 1 export
    get_parameters
  • 0.2.0
    record
    2026-07-21 · diff ↗ ·
    removed 5 exports
    Spline_der_knots, apply_karlin_constraints, bspline_to_deriv_coeffs_pp, is_beta, package_version
    added 14 exports
    SplineConstQuantRegBs1, SplineConstQuantRegBs2, SplineConstQuantRegBs4, SplineCubicQuant, SplineLinearQuant, SplineQuadraticQuant, SplineQuarticQuant, Spline_der_knot, bspline_to_deriv_coeffs_cubic, bspline_to_deriv_coeffs_lin, bspline_to_deriv_coeffs_quad, bspline_to_deriv_coeffs_quart, make_spline, quantile_spline
  • 0.1.0
    record
    first seen 2026-06-23
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First seen
2026-06-23
Total releases
5 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Download size
2.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("BsplineQuantReg")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.5281/zenodo.17427913.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BsplineQuantReg version 0.2.5 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy