Political Science Computational Laboratory
Overview
Bayesian analysis of item-response theory (IRT) models, roll call analysis; computing highest density regions; maximum likelihood estimation of zero-inflated and hurdle models for count data; goodness-of-fit measures for GLMs; data sets used in writing and teaching; seats-votes curves.
Install
Health
NOTER code for possible problemsr-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
Found calls to structure() using deprecated special names: pscl/R/hurdle.R (.Names: 1) pscl/R/zeroinfl.R (.Names: 1) '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 59
- Examples that run
- 87%48 run in a plain check · 7 never run
- Exported functions with examples
- 100%
- Documented parameters
- 89%
- Return-value docs
- 94%
- Help pages citing references
- 42%
Downloads
Repository
- PRs merged (all time)
- 75%
- Median days to close, 50 most recently updated closed issues
- 22
- Median days to close, 50 most recently updated closed PRs
- 3
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/atahk/pscl on 2026-10-22.
Dependencies
Installing pscl adds no packages beyond those that come with R.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.5.9Latest
- 1.5.5.12023-05-10 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.5.52020-03-07 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.5.22017-10-10 · diff ↗
- 1.5.12017-08-30 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
Show 52 earlier eventsHide 52 earlier events
- RR 3.2.0 released · 2015-04-16
- 1.4.92015-03-29 · diff ↗
- 1.4.82015-01-24 · diff ↗
- 1.4.62014-08-27 · diff ↗
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 1.04.42012-06-13 · diff ↗
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 1.04.12011-10-23 · diff ↗
- 1.042011-10-15 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.03.102011-03-31 · diff ↗
- 1.03.6.12011-03-21 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 1.03.62010-08-26 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 1.03.52010-04-13 · diff ↗
- 1.03.42010-04-12 · diff ↗
- 1.03.32010-01-19 · diff ↗
- 1.03.22009-11-19 · diff ↗
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- 1.032009-01-27 · diff ↗
- 1.022008-10-21 · diff ↗
- RR 2.8.0 released · 2008-10-20
- 1.012008-10-12 · diff ↗
- 1.002008-07-18 · diff ↗
- 0.972008-07-16 · diff ↗
- 0.962008-06-26 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 0.952008-03-20 · diff ↗
- 0.942008-02-17 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 0.922007-05-16 · diff ↗
- 0.91
- RR 2.5.0 released · 2007-04-24
- 0.752007-01-25 · diff ↗
- 0.73
- 0.722006-10-25 · diff ↗ ·
removed 3 exports
predprob.glm, predprob.ideal, predprob.zeroinfladded 2 exports
hurdle.control, zeroinfl.control - RR 2.4.0 released · 2006-10-03
- 0.61
- 0.602006-08-03 · diff ↗ ·
removed 4 exports
dropUnanimous.rollcall, dropUnanimous.matrix, plot1d, plot2dadded 1 export
postProcess - 0.592006-07-21 · diff ↗
- 0.582006-07-12 · diff ↗ ·
added 22 exports
predprob.glm, predprob.ideal, predprob.zeroinfl, computeMargins, constrain.items, constrain.legis, convertCodes, dropRollCall, dropUnanimous, dropUnanimous.rollcall, dropUnanimous.matrix, extractRollCallObject, ideal, idealToMCMC, readKH, rollcall, plot.predict.ideal, plot.ideal, plot1d, plot2d, tracex, vectorRepresentation - 0.54
- RR 2.3.0 released · 2006-04-24
- RR 2.2.0 released · 2005-10-06
- 0.52
- 0.512005-06-14 · diff ↗
- 0.52005-05-31
- RR 2.1.0 released · 2005-04-18
Package metadata
- First published
- 2005-05-31
- Total releases
- 39 / 21 yrs
- License
- GPL-2 OSI
- Bundled data
- 137 KB / 20 files
- Download size
- 2.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pscl")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.