Skip to content

lavacreg

0.2-2

Latent Variable Count Regression Models

0packages depend
7.2Kdownloads / year
test coverage
0/13checks pass

Overview

About
Maintained by Christoph KieferFirst published 2021-02-166 releasesCRAN page ↗GitHub ↗

Estimation of a multi-group count regression models (i.e., Poisson, negative binomial) with latent covariates. This packages provides two extensions compared to ordinary count regression models based on a generalized linear model: First, measurement models for the predictors can be specified allowing to account for measurement error. Second, the count regression can be simultaneously estimated in multiple groups with stochastic group weights. The marginal maximum likelihood estimation is described in Kiefer & Mayer (2020) doi:10.1080/00273171.2020.1751027.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 3.9 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 1.70
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-04-22
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    3 OK · 10 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 107 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

7.2K
CRAN downloads in the past year
Rank #6,280 · ~20/day · ~601/mo
Daily download trend is not available in this view yet.
17930 days
1.3K90 days
7.2K1 year
Compare downloads with other packages →
Also on389 r2u17 autocran

Repository

Repository
3Stars
2Forks
1Open issues
0Open PRs
2Releases
113Commits
4Contributors
latent-covariatescount-regressionstructural-equation-modeling
113 commits · Last activity 2026-06-08

Stars over time

2021-05-02 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/chkiefer/lavacreg on 2026-08-16.

Continuous integration (2)
GitHub ActionsTravis CI
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (6)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Maintainer, Author
Authors (1)
Maintainer, Author
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2-2Latest
    2024-06-13 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2-1
    2023-10-26 · diff ↗
  • 0.2-0
    2023-10-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1-2
    2021-08-19 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1-1
    2021-03-03 · diff ↗
  • 0.1-0
    2021-02-16
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-16
Total releases
6 / 5 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
9.1 KB / 1 file
Download size
51 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lavacreg")
Kiefer, C. (2024). lavacreg: Latent Variable Count Regression Models (Version 0.2-2) [Computer software]. https://doi.org/10.32614/CRAN.package.lavacreg

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 lavacreg version 0.2-2 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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