Fast Algorithms for Robust Slopes
Overview
Fast algorithms for the Theil-Sen estimator, Siegel's repeated median slope estimator, and Passing-Bablok regression. The implementation is based on algorithms by Dillencourt et. al (1992) doi:10.1142/S0218195992000020 and Matousek et. al (1998) doi:10.1007/PL00009190. The implementations are detailed in Raymaekers (2023) doi:10.32614/RJ-2023-012 and Raymaekers J., Dufey F. (2022) doi:10.48550/arXiv.2202.08060. All algorithms run in quasilinear time.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 5
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Dependencies
Installing robslopes adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.4Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.32023-04-27 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.1.2
- RR 4.2.0 released · 2022-04-22
- 1.1.12022-04-11 · diff ↗
- 1.1.0
- RR 4.1.0 released · 2021-05-18
- 1.0.22021-02-15 · diff ↗
- 1.0.12021-02-04 · diff ↗
- 1.0.02021-01-27
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-27
- Total releases
- 8 / 5 yrs
- License
- GPL (>= 2) OSI
- Download size
- 19 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("robslopes")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.