Learn R Programming

lphom (version 0.3.5-7)

Ecological Inference by Linear Programming under Homogeneity

Description

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) . Pavía and Romero (2024) . Pavía (2023) . Pavía (2024) . Pavía (2024) . Pavía and Penadés (2024). A bottom-up approach for ecological inference. Romero, Pavía, Martín and Romero (2020) . 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.

Copy Link

Version

Install

install.packages('lphom')

Monthly Downloads

223

Version

0.3.5-7

License

EPL | file LICENSE

Maintainer

Jose Pavia

Last Published

October 12th, 2025

Functions in lphom (0.3.5-7)

print.lphom

Print a summary of a lphom-family object
print.summary.lphom

Print a summary of a lphom-family object
summary.lphom

Summarize a lphom-family object
nslphom_joint

Implements the nslphom_joint algorithm
plot.lphom

Graphical representation of a RxC ecological inference (vote transfer) matrix
tslphom

Implements tslphom algorithm
nslphom_dual

Implements the nslphom_dual algorithm
nslphom

Implements nslphom algorithm
rslphom

Implements rslphom algorithm
tslphom_dual

Implements the tslphom_dual algorithm
tslphom_joint

Implements the tslphom_joint algorithm
adjust2integers

Integer-adjusting of outputs of the lphom-family functions
France2017D

2017 French Presidential Election. Department official results.
lphom_dual

Implements lphom_dual algorithm
lp_apriori

Implements lp_apriori models
confidence_intervals_pjk

Confidence Intervals for lphom estimates
lphom_joint

Implements the lphom_joint algorithm
error_lphom

Global error of a lphom estimated table
lclphom

Implements lclphom algorithm
lphom

Implements lphom algorithm
France2017P

2017 French Presidential Election. Regional provisional results.