Skip to content

Some Latent Variable Models

1packages depend
4Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Includes some procedures for latent variable modeling with a particular focus on multilevel data. The 'LAM' package contains mean and covariance structure modelling for multivariate normally distributed data (mlnormal(); Longford, 1987; doi:10.1093/biomet/74.4.817), a general Metropolis-Hastings algorithm (amh(); Roberts & Rosenthal, 2001, doi:10.1214/ss/1015346320) and penalized maximum likelihood estimation (pmle(); Cole, Chu & Greenland, 2014; doi:10.1093/aje/kwt245).

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Alexander Robitzsch <robitzsch@ipn.uni-kiel.de>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Alexander",
                    family = "Robitzsch",
                    role = c("aut", "cre"),
                    email = "robitzsch@ipn.uni-kiel.de")
as necessary.

CRAN check page ↗

Slowest check: 3.5 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-05-11
  • WARNING11 OK, 1 NOTE, 1 WARNING2026-05-10
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-30
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-03-28
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.7-22
READMEYes · 135 wordsVignettesNoNEWSYes · 0% structuredCitation fileYes · computed when R runs itWebsiteYes
Help pages
7includes a package overview page
Examples that run
33%2 run in a plain check · 3 never run · 1 hold no code
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
100%

Downloads

4K
CRAN downloads in the past year
Rank #8,986 · ~11/day · ~335/mo
Daily download trend is not available in this view yet.
46430 days
1.1K90 days
4K1 year
Compare downloads with other packages →
Also on373 r2u5 autocran82 c2d4u

Repository

7Stars
3Forks
0Open issues
0Open PRs
13Releases
31Commits
2Commit identities
structural-equation-modelingmultilevel-models
31 commits · Last activity 2024-07-15 · 0% stars, 30d · Default branch at 0.8-1, ahead of CRAN 0.7-22 (checked 2026-10-18)
Responsiveness
not measured

Stars over time

2025-02-26 · 62026-07-07 · 7
PracticesBeta

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

Checks run against github.com/alexanderrobitzsch/lam on 2026-10-18.

Docs source (1)

GitHub Pages site last deployed 2024-07-15

Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing LAM adds 10 packages (8 with compiled code, 11 MB of source tarballs). Heaviest: sirt 5.5 MB, Rcpp 1.8 MB, CDM 1.1 MB.

Depends (1)
R >= 3.1
Imports (6)
CDMgraphicsRcppsirtstatsutils
LinkingTo (2)
Suggests (5)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (from the free-text Author field) (1)
Author, Maintainer since 0.0-17 (2017)
Releases (8)

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.7-22Latest
    record
    2024-07-15 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-05-18
  • 0.6-19
    record
    2022-05-18 · diff ↗
  • archivedRemoved from CRAN
    2022-05-12
    requires archived package 'CDM'
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.5-15
    record
    2020-05-09 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4-17
    record
    2019-05-06 · diff ↗ ·
    added 1 export
    clpm_to_ctm
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3-48
    record
    2018-06-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 4 earlier eventsHide 4 earlier events
  • 0.2-9
    record
    2018-03-20 · diff ↗ ·
    added 2 exports
    loglike_mvnorm_NA_pattern, suff_stat_NA_pattern
  • 0.1-22
    record
    2017-11-24 · diff ↗
  • 0.0-17
    record
    2017-05-11
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-05-11
Total releases
8 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.1
Bundled data
1.6 KB / 2 files
Download size
67 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("LAM")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 LAM version 0.7-22 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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