| Title: | Interactive 'Shiny' Interface for 'BsplineQuantReg' |
|---|---|
| Description: | A user-friendly interactive Shiny interface for the 'BsplineQuantReg' package, enabling quantile regression using B-splines with shape constraints, based on the method described in Abbes (2025). Almost all parameters of the main function 'quantile_spline()' can be tuned. Features include interactive knot placement, per-region constraint specification, 'CSV' data import, direct demo access, reproducible R code generation, and solver selection. The version 0.2.2 handles knots multiplicity, Bspline basis visualisation, mean-square regression, pp form visualisation under human readable form, in local or canonical bases, The GUI provides two modes, basic (compatible with 'BsplineQuantReg' >= 0.2.2) and advanced (requires 'BsplineQuantReg' >= 0.2.5 for stable multiplicity features). This GUI an improved version of the 'Python Tk' version of 'BsplineQuantRegPy'. |
| Authors: | Alexandre Abbes [aut, cre] |
| Maintainer: | Alexandre Abbes <[email protected]> |
| License: | GPL-3 |
| Version: | 0.2.2 |
| Built: | 2026-10-10 17:38:11 UTC |
| Source: | https://github.com/cran/BsplineQuantRegGui |
Unified launcher for both basic and advanced versions of the application.
run_gui( level = "advanced", brow = TRUE, rstudio = FALSE, host = "127.0.0.1", port = 3674 )run_gui( level = "advanced", brow = TRUE, rstudio = FALSE, host = "127.0.0.1", port = 3674 )
level |
Character or numeric. Specify which version to launch:
|
brow |
Logical. If TRUE, launches the app in the system's default browser. |
rstudio |
Logical. If TRUE, launches the app in RStudio's viewer pane. |
host |
Character. Server address. Default is '127.0.0.1'. |
port |
Integer. Port to run the app on. Default is 3674. |
Launches the selected Shiny application.
## Not run: # Launch advanced version (default) run_gui() run_gui("advanced") run_gui(2) # Launch basic version run_gui("basic") run_gui(1) ## End(Not run)## Not run: # Launch advanced version (default) run_gui() run_gui("advanced") run_gui(2) # Launch basic version run_gui("basic") run_gui(1) ## End(Not run)
Opens an interactive Shiny application for quantile regression using B-splines with shape constraints. This is the basic version with standard features.
run_gui1(brow = TRUE, rstudio = FALSE, host = "127.0.0.1", port = 3674)run_gui1(brow = TRUE, rstudio = FALSE, host = "127.0.0.1", port = 3674)
brow |
Logical. If TRUE, launches the app in the system's default browser. |
rstudio |
Logical. If TRUE, launches the app in RStudio's viewer pane. If FALSE, uses the system default. |
host |
Character. Server address. Default is '127.0.0.1'. |
port |
Integer. Port to run the app on. Default is 3674. |
Features:
Standard quantile regression with B-splines
Shape constraints (monotonicity, convexity)
Region-based constraints
Interactive knot placement
Data import (CSV)
Demo examples
Not included:
Knot multiplicity management
Advanced basis visualization
Derivative plots
Human-readable polynomial display
Version Compatibility:
Fully works with BsplineQuantReg >= 0.2.2
Launches a Shiny application. The function returns invisibly when the app stops.
run_gui2 for the advanced version
## Not run: # Launch basic version run_gui1() ## End(Not run)## Not run: # Launch basic version run_gui1() ## End(Not run)
Opens an interactive Shiny application for quantile regression using B-splines with shape constraints. This version includes advanced features such as:
Knot multiplicity management
Basis visualization and derivatives
Human-readable polynomial display
Advanced constraint handling
run_gui2(brow = TRUE, rstudio = FALSE, host = "127.0.0.1", port = 3674)run_gui2(brow = TRUE, rstudio = FALSE, host = "127.0.0.1", port = 3674)
brow |
Logical. If TRUE, launches the app in the system's default browser. |
rstudio |
Logical. If TRUE, launches the app in RStudio's viewer pane. If FALSE, uses the system default. |
host |
Character. Server address. Default is '127.0.0.1'. |
port |
Integer. Port to run the app on. Default is 3674. |
Version Compatibility:
Fully works with BsplineQuantReg >= 0.2.5
Partially works with BsplineQuantReg >= 0.2.4 (some features may be limited)
Basic features work with BsplineQuantReg >= 0.2.2
Launches a Shiny application. The function returns invisibly when the app stops.
run_gui1 for the basic version
## Not run: # Launch in default browser run_gui2() # Launch in RStudio viewer run_gui2(rstudio = TRUE) # Launch on custom port run_gui2(port = 8080) ## End(Not run)## Not run: # Launch in default browser run_gui2() # Launch in RStudio viewer run_gui2(rstudio = TRUE) # Launch on custom port run_gui2(port = 8080) ## End(Not run)