Skip to content

lavacreg

0.2-2Package record

Latent Variable Count Regression Models

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

Overview

About

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.

Changes in 0.2-2
  • interaction terms between latent and / or manifest predictors can now be included in the model

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘00methods.R’ ‘creg_datalist.R’ ‘creg_input.R’ ‘creg_partable.R’
    ‘creg_startvals.r’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    '00methods.R' 'creg_datalist.R' 'creg_input.R' 'creg_partable.R'
    'creg_startvals.r'

CRAN check page ↗

Slowest check: 3.7 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE3 OK, 11 NOTE2026-04-22
  • ERROR3 OK, 10 NOTE, 1 ERROR2026-04-18
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2-2
READMEYes · 107 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2-2Citation fileNo
Help pages
5 (1 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
50%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

6.8K
CRAN downloads in the past year
Rank #8,609 · ~19/day · ~566/mo
Daily download trend is not available in this view yet.
35530 days
1.1K90 days
6.8K1 year
Compare downloads with other packages →
Also on349 r2u2 autocran

Repository

3Stars
2Forks
1Open issues
0Open PRs
2Releases
114Commits
4Commit identities
latent-covariatescount-regressionstructural-equation-modeling
114 commits · Last activity 2026-10-14 · 0% stars, 30d · Default branch at 0.2-3-9013, ahead of CRAN 0.2-2 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

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

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

Checks run against github.com/chkiefer/lavacreg on 2026-10-21.

Continuous integration (2)
GitHub ActionsTravis CI (config file)
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing lavacreg adds 5 packages (3 with compiled code, 3.3 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, pracma 389 KB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Maintainer since 0.1-0 (2021), Author
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2-2Latest
    record
    2024-06-13 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2-1
    record
    2023-10-26 · diff ↗
  • 0.2-0
    record
    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
    record
    2021-08-19 · diff ↗ ·
    removed 1 export
    is.count
    added 1 export
    is_count
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1-1
    record
    2021-03-03 · diff ↗
  • 0.1-0
    record
    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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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