Feature request: the median-median regression line (or Tukey's line) The median-median line is intended as a simple, robust alternative to the least-squares line. Some relevant links: https://bgsu.instructure.com/courses/901773/pages/d7-median-median-line?module_item_id=6364145 https://www.tandfonline.com/doi/full/10.1080/10691898.2006.11910582
There is a whole chapter on Resistant Lines with code and algorithms in the book on EDA authored by Paul Velleman that is freely available here: (pp. 121-158): https://ecommons.cornell.edu/handle/1813/78
A detailed rundown of the resistant line function: https://mgimond.github.io/tukeyedar/articles/RLine.html