Nonparametric logistic regression in r. This method is sometimes called Theil–Sen.