Skip to content

INLAvaan

0.2.5

Approximate Bayesian Latent Variable Analysis

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

Overview

About
Maintained by Haziq JamilFirst published 2026-01-274 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 7.3 min · r-devel-linux-x86_64-fedora-gcc
Code health
Yes
Tests · ratio 0.32
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
Yes
README
7
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

1.6K
CRAN downloads in the past year
Rank #13,311 · ~4/day · ~136/mo
INLAvaan
Daily download trend is not available in this view yet.
37430 days
80890 days
1.6K1 year
Compare downloads with other packages →
Also on88 r2u22 autocran

Repository

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
Imports (7)
cligraphicslavaanmethodsparallelstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 11,957 (81%)Rd 2,196 (15%)Vignettes 406 (3%)Other 256 (2%)
Code characteristics
Object systems
S317S4 class1S4 generic4S4 method14
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.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (2)
Contributor
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Release timeline

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

  • 0.2.5Latest
    2026-06-11 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4
    2026-04-03 · diff ↗
  • 0.2.3
    2026-01-28 · diff ↗
  • 0.2.2
    2026-01-27
  • R
    R 4.5.0 released · 2025-04-11

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