Logistic regression trees with glmtree
When there is a tree: three segments, three regressions | When there is no tree: apparent clusters but a single regression | Choosing the best tree | Comparison with a clustering of the features