Package: partykit 1.2-27

Torsten Hothorn

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) <https://jmlr.org/papers/v16/hothorn15a.html>.

Authors:Torsten Hothorn [aut, cre], Heidi Seibold [ctb], Achim Zeileis [aut]

partykit_1.2-27.tar.gz
partykit_1.2-27.zip(r-4.7)partykit_1.2-27.zip(r-4.6)partykit_1.2-27.zip(r-4.5)
partykit_1.2-27.tgz(r-4.6-x86_64)partykit_1.2-27.tgz(r-4.6-arm64)partykit_1.2-27.tgz(r-4.5-x86_64)partykit_1.2-27.tgz(r-4.5-arm64)
partykit_1.2-27.tar.gz(r-4.7-arm64)partykit_1.2-27.tar.gz(r-4.7-x86_64)partykit_1.2-27.tar.gz(r-4.6-arm64)partykit_1.2-27.tar.gz(r-4.6-x86_64)
partykit_1.2-27.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
partykit/json (API)
NEWS

# Install 'partykit' in R:
install.packages('partykit', repos = c('https://zeileis.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://r-forge.r-project.org/projects/partykit

Datasets:

On CRAN:

Conda:

12.58 score 94 packages 2.8k scripts 30k downloads 43 mentions 79 exports 8 dependencies

Last updated from:861432cfc0. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK199
linux-devel-x86_64OK243
source / vignettesOK293
linux-release-arm64OK181
linux-release-x86_64OK210
macos-release-arm64OK162
macos-release-x86_64OK358
macos-oldrel-arm64OK136
macos-oldrel-x86_64OK298
windows-develOK200
windows-releaseOK211
windows-oldrelOK169
wasm-releaseOK117

Exports:as.constpartyas.partyas.party.rpartas.party.Weka_treeas.party.XMLNodeas.partynodeas.simplepartyas.simpleparty.XMLNodebreaks_splitcforestcharacter_splitctreectree_controldata_partydata_party.defaultedge_simpleextree_dataextree_fitfitted_nodeformatinfo_nodeget_pathsgettreegettree.cforestglmtreeid_nodeindex_splitinfo_nodeinfo_splitis.constpartyis.partynodeis.simplepartyis.terminalkidids_nodekidids_splitkids_nodelmtreemobmob_controlmodel_frame_rpartnode_barplotnode_bivplotnode_boxplotnode_ecdfnode_innernode_mvarnode_partynode_survnode_terminalnodeapplynodeidsnodeprunenodeprune.partypartypartynodepartysplitplot.modelpartyplot.partypmmlTreeModelpredict_partypredict_party.defaultpredict.cforestpredict.modelpartypredict.partyprint.modelpartyprint.partyprob_splitprune.lmtreeprune.modelpartyrefit.modelpartyright_splitsctest.constpartysctest.modelpartysplit_nodesurrogates_nodevarid_splitvarimpvarimp.cforestvarimp.constpartywidth

Dependencies:FormulainumlatticelibcoinMatrixmvtnormrpartsurvival

Constant Partying: Growing and Handling Trees with Constant Fits

Rendered fromconstparty.Rnwusingknitr::knitron May 12 2026.

Last update: 2026-03-06
Started: 2014-01-15

ctree: Conditional Inference Trees

Rendered fromctree.Rnwusingknitr::knitron May 12 2026.

Last update: 2026-03-06
Started: 2014-01-15

Parties, Models, Mobsters: A New Implementation of Model-Based Recursive Partitioning in R

Rendered frommob.Rnwusingknitr::knitron May 12 2026.

Last update: 2026-03-06
Started: 2014-01-15

partykit: A Toolkit for Recursive Partytioning

Rendered frompartykit.Rnwusingknitr::knitron May 12 2026.

Last update: 2026-03-06
Started: 2013-08-02

Readme and manuals

Help Manual

Help pageTopics
Conditional Random Forestscforest gettree gettree.cforest predict.cforest
Conditional Inference Treesctree sctest.constparty
Control for Conditional Inference Treesctree_control
Data Preprocessing for Extensible Trees.extree_data
Fit Extensible Trees.extree_fit
Generalized Linear Model Treesglmtree plot.glmtree predict.glmtree print.glmtree
Abundance of Hunting SpidersHuntingSpiders
Linear Model Treeslmtree plot.lmtree predict.lmtree print.lmtree
Model-based Recursive Partitioningcoef.modelparty deviance.modelparty fitted.modelparty formula.modelparty getCall.modelparty logLik.modelparty mob model.frame.modelparty modelparty nobs.modelparty plot.modelparty predict.modelparty print.modelparty refit.modelparty residuals.modelparty sctest.modelparty summary.modelparty weights.modelparty
Control Parameters for Model-Based Partitioningmob_control
Model Frame Method for rpartmodel_frame_rpart
Apply Functions Over Nodesnodeapply nodeapply.party nodeapply.partynode
Extract Node Identifiersget_paths nodeids nodeids.party nodeids.partynode
Panel-Generators for Visualization of Party Treesedge_simple node_barplot node_bivplot node_boxplot node_ecdf node_inner node_mvar node_surv node_terminal panelfunctions
Recursive Partytioningdata_party data_party.default is.constparty is.simpleparty names.party names<-.party node_party party
Coercion Functionsas.constparty as.party as.party.rpart as.party.Weka_tree as.party.XMLNode as.simpleparty as.simpleparty.constparty as.simpleparty.party as.simpleparty.simpleparty as.simpleparty.XMLNode party-coercion pmmlTreeModel
Methods for Party Objectsdepth.party getCall.party length.party nodeprune nodeprune.party party-methods print.constparty print.party print.simpleparty width.party [.party [[.party
Visualization of Treesparty-plot plot.constparty plot.party plot.simpleparty
Tree Predictionsparty-predict predict.party predict_party predict_party.constparty predict_party.default predict_party.simpleparty
Inner and Terminal Nodesfitted_node formatinfo_node id_node info_node kidids_node kids_node partynode split_node surrogates_node
Methods for Node Objectsas.list.partynode as.partynode as.partynode.list as.partynode.partynode depth.partynode is.partynode is.terminal is.terminal.partynode length.partynode nodeprune.partynode partynode-methods print.partynode width width.partynode [.partynode [[.partynode
Binary and Multiway Splitsbreaks_split character_split index_split info_split kidids_split partysplit prob_split right_split varid_split
Post-Prune 'modelparty' Objectsprune.lmtree prune.modelparty
Variable Importancevarimp varimp.cforest varimp.constparty
Weather Conditions and Playing a GameWeatherPlay