Skip to content

psychotree

0.16-3Package record

Recursive Partitioning Based on Psychometric Models

2packages dependsuggested by 7
47.8Kdownloads / year
20.7%test coverage
13/13flavors OK

Overview

About

Recursive partitioning based on psychometric models, employing the general MOB algorithm (from package partykit) to obtain Bradley-Terry trees, Rasch trees, rating scale and partial credit trees, and MPT trees, trees for 1PL, 2PL, 3PL and 4PL models and generalized partial credit models.

Changes in 0.16-3

psychotree 0.16-2

  • Improve non-anchored links in manual pages (prompted by CRAN).

psychotree 0.16-1

  • Make sure that mob() from partykit (rather than party) is called by all tree functions.
  • Improved version of node_profileplot(..., what = ...) which now allows to visualize not only itempar() but also coef(), threshpar and so on by setting what = "item" or "coef" or "threshold" etc.
Show all changes in 0.16-3Hide the rest of the changes in 0.16-3
  • In previous versions the gpcmtree(..., minsize = ...) argument was ignored. Now it is passed on correctly to mob_control().

psychotree 0.16-0

  • New functions npltree() and gpcmtree() with corresponding visualization functions for model-based recursive partitioning of parametric logistic IRT models (2PL, 3PL, 3PLu, 4PL, Rasch/1PL) and the generalized partial credit model, respectively. The output of these functions might still change slightly in future versions.
  • Make sure that the "raschtree" vignette can also be compiled even when the stablelearner package is not available.

psychotree 0.15-4

  • Updated the "raschtree" vignette (_Using the raschtree function for detecting differential item functioning in the Rasch model_). This vignette now also includes a section regarding stability assessment via the stablelearner package (>= 0.1-3).

psychotree 0.15-3

  • Added IGNORE_RDIFF flags in some examples in order to avoid showing diffs due to small numeric deviations in some checks (especially on CRAN).

psychotree 0.15-2

  • The method behind mpttree() has now been published by Behavior Research Methods, see doi:10.3758/s13428-017-0937-z.
  • The predict() method for bttree objects works again correctly for type = "parameter" (previously called type = "worth") and type = "rank". Thanks to Heather Turner for pointing out the problem.
  • node_btplot() used to fail for worth = FALSE or ref = <character> but works now correctly again. Thanks to Heather Turner for pointing out the problem. Also ref = <character> now either matches to <object>$labels or (if not available) to colnames(<coefficients>) to facilitate usage with the PlackettLuce package.
  • node_regionplot() now also works correctly on devices with a default white (rather than transparent) background such as png() or jpeg().
  • node_* panel functions gained bg = "white" argument to enable different background filling color.

psychotree 0.15-1

  • The recently added mpttree() function is now accompanied by a working paper, see citation("psychotree") or ?mpttree for details.
  • Properly imported grDevices in NAMESPACE.
  • Basil Abou El-Komboz changed his name to Basil Komboz.

psychotree 0.15-0

  • New function mpttree() and visualization function for model-based recursive partitioning of multinomial processing tree (MPT) models. These functions are somewhat experimental, and their user interface might change in future releases.

psychotree 0.14-0

  • Internals of package psychotree completely reorganized to employ the recent additions and changes in psychotools (>= 0.3-0) and to use the new partykit (>= 0.2-0) implementation of the mob() function (rather than the old party implementation).
  • The handling of argument ref when producing a region/effect plot was changed. Whereas in the previous implementation, the restriction specified in this argument was applied to the cumulative absolute item threshold parameters, it now is applied to the absolute item threshold parameters.
  • New panel-generating visualization functions node_profileplot() and node_regionplot() have been added which replace the old functions node_raschplot() and node_effects().

psychotree 0.13-0

  • New functionality for recursive partitioning of partial credit and rating scale models via functions pctree() and rstree(), respectively. These require package psychotools >= 0.2-0 which provides the corresponding basic model fitting tools.

psychotree 0.12-3

  • Improved Depends/Imports/Suggests declarations in DESCRIPTION.

psychotree 0.12-2

  • Adjusted vignette "raschtree" according to the slightly different results due to the new approximation formulae for p values in the supLM test used in party::mob() (>= 1.0.3).
  • Improved the package's tests by adding reference output for the examples and vignette for comparison checks.

psychotree 0.12-1

  • Moved all base functionality to the new psychotools package in order to provide common infrastructure for both psychotree and psychomix as well as other packages. This affects the paircomp class and associated methods as well as the model fitters btReg.fit() and RaschModel.fit() and associated methods.
  • The data sets Firstnames, GermanParties2009, and Soundquality have also been moved to psychotools.

psychotree 0.11-1

  • Enhanced raschtree() functionality, introduced in detail in the new vignette("raschtree", package = "psychotree").
  • Added subsample from SPIEGEL Studentenpisa (SPISA) quiz for students from Bavaria that answered the same set of questions.
  • Added artificial data set DIFSim exhibiting differential item functioning, employed for illustrating Rasch trees.

psychotree 0.9-1

  • Added raschtree() function, based on simple RaschModel() (for binary 0/1 items).
  • Some bug fixes (subsets with missing drop = FALSE) for paircomp() and bttree() with only two objects

psychotree 0.9-0

  • First CRAN release of the package accompanying the forthcoming paper _Accounting for Individual Differences in Bradley-Terry Models by Means of Recursive Partitioning_ by Strobl, Wickelmaier, and Zeileis, accepted for publication in _Journal of Educational and Behavioral Statistics_.
  • Compared to earlier package versions available from R-Forge, this package does not depend on data/code from the prefmod2 package. All required functionality (basic Bradley-Terry regression, paircomp class, data sets) are now contained in the psychotree package.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-14
  • NOTE9 OK, 4 NOTE2026-07-11
  • OK13 OK2026-06-27
Show 4 earlier changesHide 4 earlier changes
  • WARNING12 OK, 1 WARNING2026-06-14
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.16-3
READMEYes · 204 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.16-3Citation fileYes · cites a publicationWebsiteYes
Help pages
16
Examples that run
100%11 run in a plain check
Exported functions with examples
55%
Documented parameters
71%
Return-value docs
100%
Help pages citing references
63%

Downloads

47.8K
CRAN downloads in the past year
Rank #1,981 · ~131/day · ~4K/mo
Daily download trend is not available in this view yet.
3.7K30 days
9.5K90 days
47.8K1 year
Compare downloads with other packages →
Also on334 r2u2 autocran1.3K conda_forge134 c2d4u

Repository

0Stars
0Forks
0Open issues
0Open PRs
254Commits
6Commit identities
254 commits · Last activity 2026-10-01
Responsiveness
not measured
PracticesBeta

Repository codeberg.org/zeileis/psychotree is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing psychotree adds 9 packages (6 with compiled code, 7.2 MB of source tarballs). Heaviest: partykit 2.1 MB, sandwich 1.4 MB, mvtnorm 1.0 MB.

Depends (3)
Imports (5)
graphicsgrDevicesgridstatsFormula
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
2indirect
Imports 2
Suggested by 7
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (8)
Author, Maintainer since 0.9-0 (2009)
Author · added in 0.16-0
Author · added in 0.16-0
Author · added in 0.15-1
Author · added in 0.11-1
Author · added in 0.15-4
Listed in earlier versions (1)
Basil Abou El-Komboz
no longer listed · 0.13-0 to 0.15-0
Releases (16)

Pick two releases to compare their code metrics.

  • 0.16-3Latest
    record
    2026-08-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.16-2
    record
    2025-07-25 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.16-1
    record
    2024-04-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.16-0
    record
    2022-05-06 · diff ↗ ·
    added 2 exports
    npltree, gpcmtree
  • R
    R 4.2.0 released · 2022-04-22
  • 0.15-4
    record
    2021-05-21 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.15-3
    record
    2020-01-30 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.15-2
    record
    2018-12-20 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 20 earlier eventsHide 20 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 0.15-1
    record
    2016-09-09 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.15-0
    record
    2015-01-20 · diff ↗ ·
    added 2 exports
    mpttree, node_mptplot
  • 0.14-0
    record
    2014-08-29 · diff ↗ ·
    removed 6 exports
    RaschModel, node_raschplot, RSModel, PCModel, node_effects, btReg
    added 2 exports
    node_profileplot, node_regionplot
  • R
    R 3.1.0 released · 2014-04-10
  • 0.13-0
    record
    2014-02-03 · diff ↗ ·
    added 5 exports
    rstree, RSModel, pctree, PCModel, node_effects
  • 0.12-3
    record
    2013-09-05 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.12-2
    record
    2012-10-23 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 0.12-1
    record
    2011-10-05 · diff ↗ ·
    removed 9 exports
    RaschModel.fit, worth, btReg.fit, paircomp, covariates, covariates<-, labels<-, mscale, mscale<-
  • R
    R 2.13.0 released · 2011-04-13
  • 0.11-1
    record
    2010-12-01 · diff ↗ ·
    added 4 exports
    raschtree, node_raschplot, RaschModel, RaschModel.fit
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 0.9-0
    record
    2009-11-04
  • R
    R 2.10.0 released · 2009-10-26

Package metadata

First published
2009-11-04
Total releases
16 / 17 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
39 KB / 6 files
Download size
418 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("psychotree")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.3102/1076998609359791, 10.1007/s11336-013-9388-3, 10.1177/0013164416664394, 10.3758/s13428-017-0937-z, 10.1007/978-3-531-92543-1.

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 psychotree version 0.16-3 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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