Skip to content

MPTinR

1.14.1Package record

Analyze Multinomial Processing Tree Models

0packages dependsuggested by 1
5.2Kdownloads / year
–test coverage
0/13flavors OK

Overview

About

Provides a user-friendly way for the analysis of multinomial processing tree (MPT) models (e.g., Riefer, D. M., and Batchelder, W. H. [1988]. Multinomial modeling and the measurement of cognitive processes. Psychological Review, 95, 318-339) for single and multiple datasets. The main functions perform model fitting and model selection. Model selection can be done using AIC, BIC, or the Fisher Information Approximation (FIA) a measure based on the Minimum Description Length (MDL) framework. The model and restrictions can be specified in external files or within an R script in an intuitive syntax or using the context-free language for MPTs. The 'classical' .EQN file format for model files is also supported. Besides MPTs, this package can fit a wide variety of other cognitive models such as SDT models (see fit.model). It also supports multicore fitting and FIA calculation (using the snowfall package), can generate or bootstrap data for simulations, and plot predicted versus observed data.

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) get.mpt.fia.Rd:60: Lost braces
    60 | \item{lnconst}{When inequality constraints are present, \code{lnconst} serves as an adjustment of code{lnInt}. It estimates the logarithm of the proportion of parameter space [0,1]^S that satisfies those inequality constraints, and the log integral term is given by \code{lnInt+lnconst}.
       |                                                                                                       ^
checkRd: (-1) prediction.plot.Rd:38: Lost braces
    38 | The labels on the x-axis. Default is \code{Tree 1} to code{Tree n}.
       |                                                           ^
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Henrik Singmann <singmann@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

CRAN check page ↗

Slowest check: 6.1 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-09-08
  • ERROR12 NOTE, 1 ERROR2026-09-07
  • NOTE14 NOTE2026-04-22
  • ERROR13 NOTE, 1 ERROR2026-04-18
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.14.1
READMENoVignettesYes · 1 · dynamicNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
17includes a package overview page
Examples that run
46%6 run in a plain check · 7 never run
Exported functions with examples
92%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
76%

Downloads

5.2K
CRAN downloads in the past year
Rank #7,078 · ~14/day · ~432/mo
Daily download trend is not available in this view yet.
56330 days
1.2K90 days
5.2K1 year
Compare downloads with other packages →
Also on390 r2u5 autocran125 c2d4u

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing MPTinR adds 4 packages (2 with compiled code, 3.9 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, Brobdingnag 334 KB.

Depends (1)
R >= 2.15.1
Imports (5)
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (5)
Author, Maintainer since 0.6.5 (2011)
Author · added in 1.3.5
Contributor · added in 1.3.5
Contributor · added in 1.1.8
Releases (18)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.14.1Latest
    record
    2023-12-07 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.13.0
    record
    2020-08-27 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.12.0
    record
    2019-12-14 · diff ↗ ·
    removed 1 export
    pattern:^[^\\.]
    added 17 exports
    bmpt.fia, check.mpt, get.mpt.fia, make.eqn, make.mdt, make.mpt.cf, lbmpt.to.mpt, prediction.plot, prepare.mpt.fia, gen.data, sample.data, gen.predictions, fit.mptinr, fit.mpt, fit.mpt.old, fit.model, select.mpt
  • R
    R 3.6.0 released · 2019-04-26
  • 1.11.0
    record
    2018-06-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.10.3
    record
    2015-07-27 · diff ↗
Show 18 earlier eventsHide 18 earlier events

Package metadata

First published
2011-11-22
Total releases
18 / 15 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.15.1
Bundled data
16 KB / 5 files
Download size
648 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("MPTinR")

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

It points to 10.3758/s13428-012-0259-0.

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

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