Generalized Linear Latent Variable Models
Overview
Analysis of multivariate data using generalized linear latent variable models (gllvm). Estimation is performed using either the Laplace method, variational approximations, or extended variational approximations, implemented via TMB (Kristensen et al. (2016), doi:10.18637/jss.v070.i05).
- CRAN update version 2.0.15, see also news for 2.0.14
- Ordinal with cloglog link implemented
- Parametrization of ordered beta cutoffs changed to cumulative parametrization
Bugfixes
- Bug related to NaNs in SigmaB and starting values fixed
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-09
- ERROR12 OK, 1 ERROR2026-06-24
- OK13 OK2026-06-09
Show 7 earlier changesHide 7 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-12
- WARNING12 OK, 1 WARNING2026-05-11
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-24
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-23
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 41
- Examples that run
- 28%8 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran) · 15 never run
- Exported functions with examples
- 72%
- Documented parameters
- 57%
- Return-value docs
- 41%
- Help pages citing references
- 34%
- Analysing high-dimensional microbial community data using gllvm HTML
- Analysing multivariate abundance data using gllvm HTML
- Analysing sparse ecological percent cover data using gllvm HTML
- Assessing Convergence in gllvm models HTML
- Correlation structures for latent variables and row effects HTML
- How to use the quadratic response model HTML
- Introduction to gllvm Part 1: Ordination HTML
- Introduction to gllvm Part 2: Species correlations HTML
- Ordination with predictors HTML
- Phylogenetic random effects HTML
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jenniniku/gllvm on 2026-10-18.
GitHub Pages site last deployed 2026-09-14
Dependencies
Installing gllvm adds 7 packages (5 with compiled code, 6.5 MB of source tarballs). Heaviest: nloptr 2.1 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.0.15Latest
- 2.0.132026-07-09 · diff ↗
- 2.0.11
- 2.0.102026-05-10 · diff ↗ ·
added 6 exports
glmmVA, predictPairwise, predictPairwise.gllvm, predictSR, predictSR.gllvm, residuals.predictSR.gllvm - RR 4.6.0 released · 2026-04-24
- 2.0.52025-07-13 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.0.2
- 2.0.1
- 2.02024-11-26 · diff ↗ ·
added 13 exports
VP, getEnvironCor, getEnvironCor.gllvm, getEnvironCov, getEnvironCov.gllvm, getLoadings, getLoadings.gllvm, phyloplot, phyloplot.gllvm, plotVP, plotVarPartitioning, varPartitioning, varPartitioning.gllvm - RR 4.4.0 released · 2024-04-24
- 1.4.32023-09-18 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4.12023-01-07 · diff ↗
- 1.4.02022-12-17 · diff ↗ ·
removed 3 exports
nobs, predict, vcovadded 2 exports
confint.gllvm, logLik.gllvm - RR 4.2.0 released · 2022-04-22
Show 18 earlier eventsHide 18 earlier events
- 1.3.12021-07-28 · diff ↗ ·
removed 2 exports
gradient.length, gradient.length.gllvmadded 1 export
print.summary.gllvm - RR 4.1.0 released · 2021-05-18
- 1.3.02021-04-30 · diff ↗ ·
added 12 exports
AICc, AICc.gllvm, gradient.length, gradient.length.gllvm, nobs, nobs.gllvm, optima, optima.gllvm, tolerances, tolerances.gllvm, vcov, vcov.gllvm - 1.2.3
- 1.2.22020-05-11 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.2.12020-01-23 · diff ↗
- 1.2.0
- 1.1.72019-09-17 · diff ↗
- 1.1.62019-08-23 · diff ↗ ·
added 6 exports
getLV, getLV.gllvm, predictLVs, predictLVs.gllvm, simulate, simulate.gllvm - RR 3.6.0 released · 2019-04-26
- 1.1.32019-04-16 · diff ↗ ·
added 6 exports
getPredictErr, getPredictErr.gllvm, getResidualCov, getResidualCov.gllvm, predict, predict.gllvm - 1.1.22019-01-02 · diff ↗
- 1.1.02018-11-14 · diff ↗
- 1.0
- RR 3.5.0 released · 2018-04-23
- 0.1.02017-12-20
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-12-20
- Total releases
- 24 / 9 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 178 KB / 6 files
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gllvm")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
The repository also keeps a CITATION.cff.
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.