BsplineQuantRegGui

CRAN status CRAN downloads R [License: GPL-3]

Overview

‘BsplineQuantRegGui’ is an interactive Shiny interface for the ‘BsplineQuantReg’ package, providing a user-friendly way to perform quantile regression using B-splines with shape constraints.

The package is available on CRAN.

The underlying ‘BsplineQuantReg’ package provides the core regression methods for B-spline quantile regression with Karlin-Studden polynomial sign characterization, including degrees 1 to 4. It provides a small set of robust functions in pure R for polynomial calculation, piecewise polynomial and B-spline manipulation, including differentiation, B-spline coefficients calculations and transformation to PP-form, evaluation of splines and pp polynomial as functions, and coefficients display in human readable form.

Features

This GUI application makes it easy to:

Installation

From CRAN

install.packages("BsplineQuantRegGui")

From GitHub

install.packages("remotes")
remotes::install_github("alexandreabbes/BsplineQuantRegGui")

Quick Start

library(BsplineQuantRegGui)
# Launch the application
runGui()

The GUI will open in your default web browser.

Docker Deployment

A Docker image is available for easy deployment:

docker pull ghcr.io/alexandreabbes/bsplinequantreggui:latest

# Launch default version (advanced)
docker run -p 3838:3838 ghcr.io/alexandreabbes/bsplinequantreggui:latest

# Launch basic version
docker run -e APP_VERSION="basic" -p 3838:3838 ghcr.io/alexandreabbes/bsplinequantreggui:latest
#APP_VERSION :  either 1 || "basic"" or 2 || "advanced" 

Then open the local adress “127.0.0.1:3838” in your browser (remove the quotes).

Requirements

Core Package

Version Compatibility

GUI Version Core Version Mode Features
v0.2.2 >= 0.2.2 Basic Standard regression, constraints
v0.2.2 >= 0.2.5 Advanced All features incl. multiplicity

This package depends on:

Package Purpose
‘BsplineQuantReg’ (>= 0.2.5) Core regression functions
‘shiny’ Interactive web framework
‘plotly’ Interactive graphics
‘DT’ Interactive tables
‘shinythemes’ UI themes
‘shinyjs’ Enhanced JavaScript capabilities
‘colourpicker’ Color selection widget
‘ECOSolveR’ A good solver that causes no problem to compile

Usage Guide

1. Data Selection

2. Spline Configuration

3.Knots multiplicity

-select or un-select “consider multiplicity”” -click on a knot to select it -adjust multiplicity with + or -. Multiplicity of a knot is limited to degree+1

3b. View basis

4. Constraints

4. Run Analysis

4b Reproduce analysis by your own

4c Check output in console

5. Run Demos

Citation

citation(“BsplineQuantRegGui”)

If you use this package in your research, please cite:

@Article{Abbes2025, author = {Alexandre Abbes}, title = {Quantile Regression with Cubic Polynomial Splines under Shape Constraints with Applications}, year = {2025}, doi = {10.5281/zenodo.17427913} }

@Manual{Abbes2026R, author = {Alexandre Abbes}, title = {BsplineQuantReg: Quantile Regression with B-Splines of Degrees 1 to 4}, year = {2026}, note = {R package version 0.2.0}, url = {https://cran.r-project.org/package=BsplineQuantReg} }

License

GPL-3 (c) Alexandre Abbes (2026)

References