robslopes: Fast Algorithms for Robust Slopes

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.

Getting started

Package details

AuthorJakob Raymaekers [aut, cre]
MaintainerJakob Raymaekers <jakob.raymaekers@uantwerpen.be>
LicenseGPL (>= 2)
Version1.1.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("robslopes")

Try the robslopes package in your browser

Any scripts or data that you put into this service are public.

robslopes documentation built on Dec. 19, 2025, 5:06 p.m.