Published September 22, 2026
| Version v0.1.0
Software
Open
enum2x2 for R: every 2x2 table compatible with a published agreement statistic
Authors/Creators
Description
A study comparing two binary criteria on one population computes its numbers from a 2x2 table, then publishes the numbers and not the table. Given a sample size, both positive marginals and Cohen's kappa as the strings a source printed, this R package enumerates every integer table whose statistics round back to those digits, treating rounding as a constraint rather than as noise. It reports whether the published figures identify one table, several, or none, in exact integer arithmetic with no tolerance parameter and no package dependencies. The interface mirrors metafor::conv.2x2, which reconstructs one table per row by optimization, so the two can be swapped and compared. This is a port of the Python package enum2x2 and is verified against it on 11,296 exported cases.
Files
elliottower/enum2x2-r-v0.1.0.zip
Files
(246.4 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:41fbbe3320f7835c8ead3c823cbb27e3
|
246.4 kB | Preview Download |
Additional details
Related works
- Is derived from
- https://github.com/elliottower/enum2x2 (URL)
- Is referenced by
- Preprint: 10.5281/zenodo.22985131 (DOI)
- Is supplement to
- https://github.com/elliottower/enum2x2-r (URL)
Software
- Repository URL
- https://github.com/elliottower/enum2x2-r