INLAvaan
0.2.5Approximate Bayesian Latent Variable Analysis
Overview
Implements approximate Bayesian inference for Structural Equation Models (SEM) using a custom adaptation of the Integrated Nested Laplace Approximation (Rue et al., 2009) doi:10.1111/j.1467-9868.2008.00700.x as described in Jamil and Rue (2026a) doi:10.48550/arXiv.2603.25690. Provides a computationally efficient alternative to Markov Chain Monte Carlo (MCMC) for Bayesian estimation, allowing users to fit latent variable models using the 'lavaan' syntax. See also the companion paper on implementation and workflows, Jamil and Rue (2026b) doi:10.48550/arXiv.2604.00671.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 73 max
- Test cases
- 162 / 0.32 per code line
- Documented parameters
- 91%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
116 18 exported
Complexity
5.9 avg / 73 max
Call network
116 nodes / 112 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2026-01-27
- Total releases
- 4 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5
- Download size
- 1.8 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet