Skip to content

LMMELSM

0.2.1Package record

Fit Latent Multivariate Mixed Effects Location Scale Models

0packages depend
6.7Kdownloads / year
71.6%test coverage
11/13flavors OK

Overview

About

In addition to modeling the expectation (location) of an outcome, mixed effects location scale models (MELSMs) include submodels on the variance components (scales) directly. This allows models on the within-group variance with mixed effects, and between-group variances with fixed effects. The MELSM can be used to model volatility, intraindividual variance, uncertainty, measurement error variance, and more. Multivariate MELSMs (MMELSMs) extend the model to include multiple correlated outcomes, and therefore multiple locations and scales. The latent multivariate MELSM (LMMELSM) further includes multiple correlated latent variables as outcomes. This package implements two-level mixed effects location scale models on multiple observed or latent outcomes, and between-group variance modeling. Williams, Martin, Liu, and Rast (2020) doi:10.1027/1015-5759/a000624. Hedeker, Mermelstein, and Demirtas (2008) doi:10.1111/j.1541-0420.2007.00924.x.

Changes in 0.2.1
  • Updated Stan Array syntax

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 18.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-07-29
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-07-27
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-06-08
  • NOTE9 OK, 5 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 293 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
37 (27 internal)includes a package overview page
Examples that run
0%1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
33%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
3%

Downloads

6.7K
CRAN downloads in the past year
Rank #8,210 · ~18/day · ~560/mo
Daily download trend is not available in this view yet.
35130 days
1.1K90 days
6.7K1 year
Compare downloads with other packages →
Also on353 r2u2 autocran

Repository

3Stars
1Forks
1Open issues
0Open PRs
0Releases
273Commits
2Commit identities
mixed-effectsmultilevel-modelsbayesianstanstatistics
273 commits · Last activity 2025-05-04 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
602

Stars over time

2023-03-15 · 22026-07-07 · 3
PracticesBeta

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

Checks run against github.com/stephensrmmartin/lmmelsm on 2026-10-21.

Continuous integration (2)
GitHub ActionsTravis CI (config file)
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing LMMELSM adds 49 packages (22 with compiled code, 44 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, loo 2.7 MB.

Depends (1)
R >= 3.4.0
Imports (10)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2021)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1Latest
    record
    2025-05-04 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-12-15
  • 0.2.0
    record
    2022-12-15 · diff ↗
  • archivedRemoved from CRAN
    2022-09-04
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    record
    2021-03-13
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-03-13
Total releases
3 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.4.0
Bundled data
537 KB / 1 file
Download size
605 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("LMMELSM")
Martin, S., & Rast, P. (2025). LMMELSM: Fit Latent Multivariate Mixed Effects Location Scale Models (Version 0.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.LMMELSM

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

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