irtQ
1.1.0Unidimensional Item Response Theory Modeling
Overview
Fit unidimensional item response theory (IRT) models to test data, which includes both dichotomous and polytomous items, calibrate pretest item parameters, estimate examinees' abilities, and examine the IRT model-data fit on item-level in different ways as well as provide useful functions related to IRT analyses such as IRT model-data fit evaluation and differential item functioning analysis. The bring.flexmirt() and write.flexmirt() functions were written by modifying the read.flexmirt() function (Pritikin & Falk (2022) doi:10.1177/0146621620929431). The bring.bilog() and bring.parscale() functions were written by modifying the read.bilog() and read.parscale() functions, respectively (Weeks (2010) doi:10.18637/jss.v035.i12). The bisection() function was written by modifying the bisection() function (Howard (2017, ISBN:9780367657918)). The code of the inverse test characteristic curve scoring in the est_score() function was written by modifying the irt.eq.tse() function (González (2014) doi:10.18637/jss.v059.i07). In est_score() function, the code of weighted likelihood estimation method was written by referring to the Pi(), Ji(), and Ii() functions of the catR package (Magis & Barrada (2017) doi:10.18637/jss.v076.c01).
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 60%
- Documented parameters
- 95%
- Return-value docs
- 100%
- References docs
- 62%
Downloads
Repository
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/hwangq/irtq on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 5.0 median / 71 max
- Test cases
- 138 / 0.06 per code line
Test coverage
Line coverage
35%
Expression
35.8%
Tests / Examples
34.5% / 9% ex
Functions
189 36 exported
Complexity
8.4 avg / 71 max
Call network
189 nodes / 371 edges
Call graph
Open call graph →Lowest coverage
189 functions| Function | Cyclo | Coverage |
|---|---|---|
| bring.bilog exp | 5 | 0% |
| bring.mirt exp | 16 | 0% |
| bring.parscale exp | 19 | 0% |
| cac_lee exp | 6 | 0% |
| cac_rud exp | 10 | 0% |
| covirt exp | 5 | 0% |
People & History
6 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2023-01-10
- Total releases
- 6 / 3 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.4
- Bundled data
- 1.1 MB / 5 files
- Download size
- 1.5 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet