Skip to content

lphom

0.3.5-7Package record

Ecological Inference by Linear Programming under Homogeneity

0packages depend
3.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.5-7
READMENoVignettesNoNEWSYes · 100% structured · does not mention 0.3.5-7Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

3.1K
CRAN downloads in the past year
Rank #15,588 · ~8/day · ~257/mo
Daily download trend is not available in this view yet.
36430 days
78390 days
3.1K1 year
Compare downloads with other packages →
Also on77 r2u5 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing lphom adds 1 package (1 with compiled code, 457 KB of source tarballs). Heaviest: lpSolve 457 KB.

Depends (1)
R >= 3.5.0
Imports (2)
statslpSolve
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.3 (2021)
Listed in earlier versions (1)
Jose M. Pavia
no longer listed · 0.3.0-11
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.5-7Latest
    record
    2025-10-13 · current release · diff ↗
  • 0.3.5-6
    record
    2025-04-12 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.5-5
    record
    2024-03-03 · diff ↗
  • 0.3.5-4
    record
    2024-02-20 · diff ↗ ·
    added 1 export
    rslphom
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.1-1
    record
    2022-03-21 · diff ↗ ·
    added 1 export
    lp_apriori
  • 0.3.0-14
    record
    2021-12-23 · diff ↗
  • 0.3.0-11
    record
    2021-12-13 · diff ↗ ·
    added 1 export
    adjust2integers
  • 0.3.0-7
    record
    2021-09-09 · diff ↗ ·
    added 7 exports
    lclphom, lphom_dual, lphom_joint, nslphom_dual, nslphom_joint, tslphom_dual, tslphom_joint
  • 0.1.4
    record
    2021-06-09 · diff ↗
  • 0.1.3
    record
    2021-06-02
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lphom version 0.3.5-7 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy