Ecological Inference by Linear Programming under Homogeneity
Overview
Provides a bunch of algorithms based on linear programming for estimating, under the homogeneity hypothesis, RxC ecological contingency tables (or vote transition matrices) using mainly aggregate data (from voting units). References: Pavía and Romero (2024) doi:10.1177/00491241221092725. Pavía and Romero (2024) doi:10.1093/jrsssa/qnae013. Pavía (2023) doi:10.1007/s43545-023-00658-y. Pavía (2024) doi:10.1080/0022250X.2024.2423943. Pavía (2024) doi:10.1177/07591063241277064. Pavía and Penadés (2024). A bottom-up approach for ecological inference. Romero, Pavía, Martín and Romero (2020) doi:10.1080/02664763.2020.1804842. Acknowledgements: The authors wish to thank Consellería de Educación, Cultura, Universidades y Empleo, Generalitat Valenciana (grants AICO/2021/257, CIAICO/2023/031) and MICIU/AEI/10.13039/501100011033/FEDER, UE (grant PID2021-128228NB-I00) for supporting this research.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 94%17 run in a plain check · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 71%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.5-7Latest
- 0.3.5-62025-04-12 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.5-52024-03-03 · diff ↗
- 0.3.5-4
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.1-1
- 0.3.0-142021-12-23 · diff ↗
- 0.3.0-11
- 0.3.0-72021-09-09 · diff ↗ ·
added 7 exports
lclphom, lphom_dual, lphom_joint, nslphom_dual, nslphom_joint, tslphom_dual, tslphom_joint - 0.1.42021-06-09 · diff ↗
- 0.1.32021-06-02
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-06-02
- Total releases
- 10 / 5 yrs
- License
- EPL | file LICENSE
- Minimum R
- ≥ 3.5.0
- Bundled data
- 6.2 KB / 2 files
- Download size
- 97 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("lphom")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1177/00491241221092725, 10.1093/jrsssa/qnae013, 10.1080/02664763.2020.1804842.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.