Skip to content

PrInDT

2.0.3Package record

Prediction and Interpretation in Decision Trees for Classification and Regression

0packages depend
5.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Optimization of conditional inference trees from the package 'party' for classification and regression. For optimization, the model space is searched for the best tree on the full sample by means of repeated subsampling. Restrictions are allowed so that only trees are accepted which do not include pre-specified uninterpretable split results (cf. Weihs & Buschfeld, 2021a). The function PrInDT() represents the basic resampling loop for 2-class classification (cf. Weihs & Buschfeld, 2021a). The function RePrInDT() (repeated PrInDT()) allows for repeated applications of PrInDT() for different percentages of the observations of the large and the small classes (cf. Weihs & Buschfeld, 2021c). The function NesPrInDT() (nested PrInDT()) allows for an extra layer of subsampling for a specific factor variable (cf. Weihs & Buschfeld, 2021b). The functions PrInDTMulev() and PrInDTMulab() deal with multilevel and multilabel classification. In addition to these PrInDT() variants for classification, the function PrInDTreg() has been developed for regression problems. Finally, the function PostPrInDT() allows for a posterior analysis of the distribution of a specified variable in the terminal nodes of a given tree. In version 2, additionally structured sampling is implemented in functions PrInDTCstruc() and PrInDTRstruc(). In these functions, repeated measurements data can be analyzed, too. Moreover, multilabel 2-stage versions of classification and regression trees are implemented in functions C2SPrInDT() and R2SPrInDT() as well as interdependent multilabel models in functions SimCPrInDT() and SimRPrInDT(). Finally, for mixtures of classification and regression models functions Mix2SPrInDT() and SimMixPrInDT() are implemented. Most of these extensions of PrInDT are described in Buschfeld & Weihs (2026). References: -- Buschfeld, S., Weihs, C. (2026) "Optimizing decision trees for the analysis of World Englishes and sociolinguistic data", Cambridge Elements. doi:10.1017/9781009470346; -- Weihs, C., Buschfeld, S. (2021a) "Combining Prediction and Interpretation in Decision Trees (PrInDT) - a Linguistic Example" doi:10.48550/arXiv.2103.02336; -- Weihs, C., Buschfeld, S. (2021b) "NesPrInDT: Nested undersampling in PrInDT" doi:10.48550/arXiv.2103.14931; -- Weihs, C., Buschfeld, S. (2021c) "Repeated undersampling in PrInDT (RePrInDT): Variation in undersampling and prediction, and ranking of predictors in ensembles" doi:10.48550/arXiv.2108.05129.

Install

Health

CRAN checks
13OK
Slowest check: 5.3 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-25
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.3
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
26
Examples that run
100%21 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.7K
CRAN downloads in the past year
Rank #17,612 · ~16/day · ~474/mo
Daily download trend is not available in this view yet.
28730 days
72590 days
5.7K1 year
Compare downloads with other packages →
Also on75 r2u1 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing PrInDT adds 23 packages (15 with compiled code, 36 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, data.table 5.7 MB.

Depends (1)
R >= 2.10
Imports (8)
graphicsMASSpartysplitstackshapestatsstringrutilsgdata
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0 (2023)
Contributor
Releases (6)

Pick two releases to compare their code metrics.

  • 2.0.3Latest
    record
    2026-07-22 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.2
    record
    2025-09-11 · diff ↗
  • 2.0.1
    record
    2025-08-25 · diff ↗
  • 2.0.0
    record
    2025-07-21 · diff ↗ ·
    added 9 exports
    C2SPrInDT, Mix2SPrInDT, OptPrInDT, PrInDTCstruc, PrInDTRstruc, R2SPrInDT, SimCPrInDT, SimMixPrInDT, SimRPrInDT
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.1
    record
    2023-05-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0
    record
    2023-04-12
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-04-12
Total releases
6 / 3 yrs
License
GPL-2 OSI
Minimum R
≥ 2.10
Bundled data
10 KB / 5 files
Download size
112 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PrInDT")
Weihs, C., Buschfeld, S., & Nitsch, N. (2026). PrInDT: Prediction and Interpretation in Decision Trees for Classification and Regression (Version 2.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.PrInDT

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PrInDT version 2.0.3 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy