Home Page




Editorial Board


Open Source Software




Frequently Asked Questions

Contact Us

RSS Feed

partykit: A Modular Toolkit for Recursive Partytioning in R

Torsten Hothorn, Achim Zeileis; 16(118):3905−3909, 2015.


The R package partykit provides a flexible toolkit for learning, representing, summarizing, and visualizing a wide range of tree- structured regression and classification models. The functionality encompasses: (a) basic infrastructure for representing trees (inferred by any algorithm) so that unified print/plot/predict methods are available; (b) dedicated methods for trees with constant fits in the leaves (or terminal nodes) along with suitable coercion functions to create such trees (e.g., by rpart, RWeka, PMML); (c) a reimplementation of conditional inference trees (ctree, originally provided in the party package); (d) an extended reimplementation of model-based recursive partitioning (mob, also originally in party) along with dedicated methods for trees with parametric models in the leaves. Here, a brief overview of the package and its design is given while more detailed discussions of items (a)—(d) are available in vignettes accompanying the package.

[abs][pdf][bib]        [code]
© JMLR 2015. (edit, beta)