partykit: A Toolkit for Recursive Partytioning

A toolkit with infrastructure for representing, summarizing, and visualizing tree-structured regression and classification models. This unified infrastructure can be used for reading/coercing tree models from different sources ('rpart', 'RWeka', 'PMML') yielding objects that share functionality for print()/plot()/predict() methods. Furthermore, new and improved reimplementations of conditional inference trees (ctree()) and model-based recursive partitioning (mob()) from the 'party' package are provided based on the new infrastructure. A description of this package was published by Hothorn and Zeileis (2015) <>.

Version: 1.2-21
Depends: R (≥ 3.5.0), graphics, grid, libcoin (≥ 1.0-0), mvtnorm
Imports: grDevices, stats, utils, survival, Formula (≥ 1.2-1), inum (≥ 1.0-0), rpart (≥ 4.1-11)
Suggests: XML, pmml, rJava, sandwich, strucchange, vcd, AER, mlbench, (≥ 1.0-3), coin (≥ 1.1-0), RWeka (≥ 0.4-19), datasets, parallel, psychotools (≥ 0.3-0), psychotree, party (≥ 1.3-0), randomForest
Published: 2024-07-18
DOI: 10.32614/CRAN.package.partykit
Author: Torsten Hothorn ORCID iD [aut, cre], Heidi Seibold ORCID iD [ctb], Achim Zeileis ORCID iD [aut]
Maintainer: Torsten Hothorn <Torsten.Hothorn at>
License: GPL-2 | GPL-3
NeedsCompilation: yes
Citation: partykit citation info
Materials: NEWS
In views: MachineLearning
CRAN checks: partykit results


Reference manual: partykit.pdf
Vignettes: Constant Partying: Growing and Handling Trees with Constant Fits
ctree: Conditional Inference Trees
Parties, Models, Mobsters: A New Implementation of Model-Based Recursive Partitioning in R
partykit: A Toolkit for Recursive Partytioning


Package source: partykit_1.2-21.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): partykit_1.2-21.tgz, r-oldrel (arm64): partykit_1.2-21.tgz, r-release (x86_64): partykit_1.2-21.tgz, r-oldrel (x86_64): partykit_1.2-21.tgz
Old sources: partykit archive

Reverse dependencies:

Reverse depends: ATR, evtree, ggparty, glmertree, ICcforest, lagsarlmtree, missCforest, model4you, ODRF, palmtree, PPtreeViz, psychotree, quint, smbinning, trtf, vcrpart
Reverse imports: C443, C50, CERFIT, CGPfunctions, coat, dipm, eat, etree, fmeffects, forestRK, glmtree, GNOSIS, gosset, htetree, LLM, localModel, logiBin, LSDirf, LTRCforests, LTRCtrees, mboost, moreparty, MST, networktree, Pigengene, PlackettLuce, pre, psica, scorecardModelUtils, simPop, stablelearner, StratifiedMedicine, tidyrules, treeheatr, visTree
Reverse suggests: bcf, betareg, bonsai, buildmer, censored, counterfactuals, data.tree, dlookr, drape, familiar, flowml, HSAUR2, HSAUR3, iml, MachineShop, marginaleffects, mlr3viz, pdp, plotmo, PPtreeregViz, qeML, r2pmml, RWeka, scGate, shapr, tbm, tidypredict
Reverse enhances: d3r, vip


Please use the canonical form to link to this page.