Package: partykit 1.2-23

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-23.tar.gz
partykit_1.2-23.zip(r-4.5)partykit_1.2-23.zip(r-4.4)partykit_1.2-23.zip(r-4.3)
partykit_1.2-23.tgz(r-4.4-x86_64)partykit_1.2-23.tgz(r-4.4-arm64)partykit_1.2-23.tgz(r-4.3-x86_64)partykit_1.2-23.tgz(r-4.3-arm64)
partykit_1.2-23.tar.gz(r-4.5-noble)partykit_1.2-23.tar.gz(r-4.4-noble)
partykit_1.2-23.tgz(r-4.4-emscripten)partykit_1.2-23.tgz(r-4.3-emscripten)
partykit.pdf |partykit.html
partykit/json (API)
NEWS

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

Peer review:

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

Datasets:

On CRAN:

12.75 score 94 packages 2.2k scripts 32k downloads 43 mentions 79 exports 8 dependencies

Last updated 18 days agofrom:87e69601a2. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 02 2024
R-4.5-win-x86_64OKDec 02 2024
R-4.5-linux-x86_64OKDec 02 2024
R-4.4-win-x86_64OKDec 02 2024
R-4.4-mac-x86_64OKDec 02 2024
R-4.4-mac-aarch64OKDec 02 2024
R-4.3-win-x86_64OKDec 02 2024
R-4.3-mac-x86_64OKDec 02 2024
R-4.3-mac-aarch64OKDec 02 2024

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.Rnwusingutils::Sweaveon Dec 02 2024.

Last update: 2019-05-16
Started: 2014-01-15

ctree: Conditional Inference Trees

Rendered fromctree.Rnwusingutils::Sweaveon Dec 02 2024.

Last update: 2021-02-08
Started: 2014-01-15

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

Rendered frommob.Rnwusingutils::Sweaveon Dec 02 2024.

Last update: 2020-08-04
Started: 2014-01-15

partykit: A Toolkit for Recursive Partytioning

Rendered frompartykit.Rnwusingutils::Sweaveon Dec 02 2024.

Last update: 2019-05-16
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