psp logo

R-CMD-check CRAN downloads GitHub release (latest SemVer including pre-releases)CRAN/METACRANCRAN/METACRAN

Parameter Space Partitioning MCMC for Global Model Evaluation (Pitt, Kim, Navarro & Myung, 2006).

CRAN page of psp

To cite package ‘psp’ in publications use:

Lenard Dome and Andy Wills (2026). psp: Parameter Space Partitioning MCMC for Global Model Evaluation. R package version 1.0.6. https://CRAN.R-project.org/package=psp

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {psp: Parameter Space Partitioning MCMC for Global Model Evaluation},
    author = {Lenard Dome and {Andy Wills}},
    year = {2026},
    note = {R package version 1.0.6},
    url = {https://CRAN.R-project.org/package=psp},
  }

Install

For the stable version

install.packages("psp")

For the developmental version:

# devtools::install_github("lenarddome/psp")
install.packages("psp", repos = c('https://lenarddome.r-universe.dev', 'https://cloud.r-project.org'))

About psp

Philosophy

A big influence on this implementation is an instantiation of the Open Models Initiative, catlearn. Watch the talk of Andy Wills: “The OpenModels project” from Open Research Working Group (ORWG) virtual meeting 08/09/20.

The project's architecture is also influenced by DEoptim. DEoptim implements a Differential Evolutionary Optimization algorithm formodel-fitting.

We are completely open-source and free. Anyone can contribute. If you would like to raise an issue or contribute code, use Github, message or email me (@lenarddome).

Code Style

We use Google’s R Style Guide with some extra caveats:

Branch naming convention

A git branch should start with a category. Pick one of these: feature, bugfix, hotfix, or test.

See this link for some great description of the naming convention.

Commit message conventions

Please follow the Conventional Commits guidelines for commit messages. Feel free to use gitmoji for commit messages, but insert them at the end of the problem description. See this link for more information.