Skip to content

Multilevel Latent Time Series Models with 'R' and 'Stan'

0packages depend
3.1Kdownloads / year
2.1%test coverage
13/13flavors OK

Overview

About

Fit multilevel manifest or latent time-series models, including popular Dynamic Structural Equation Models (DSEM). The models can be set up and modified with user-friendly functions and are fit to the data using 'Stan' for Bayesian inference. Path models and formulas for user-defined models can be easily created with functions using 'knitr'. Asparouhov, Hamaker, & Muthen (2018) doi:10.1080/10705511.2017.1406803.

Changes in 2.0.1

Bug Fixes

  • Selection of true values for data generation in mlts_sim() was spurious for residual SDs of outcome variables. Now set to 0.5.
  • Between-level standardization using mlts_standardized() failed for models with multiple time-invariant covariates.
  • mlts_paths() did not display time-invariant covariates used as outcome predictors

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 26.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-29
  • ERROR12 OK, 1 ERROR2026-07-27
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.0.1
READMEYes · 999 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 2.0.1Citation fileYes · software entry only
Help pages
15 (1 internal)includes a package overview page
Examples that run
8%1 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
13%

Downloads

3.1K
CRAN downloads in the past year
Rank #14,499 · ~9/day · ~260/mo
Daily download trend is not available in this view yet.
32030 days
82890 days
3.1K1 year
Compare downloads with other packages →
Also on396 r2u

Repository

12Stars
6Forks
5Open issues
1Open PRs
2Releases
438Commits
7Commit identities
License file reads as GPL-3.0 · 438 commits · Last activity 2026-10-21 · +33.3% stars, 30d · Default branch at 2.0.1.9000, ahead of CRAN 2.0.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-13 · 32026-10-08 · 12
PracticesBeta

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

Checks run against github.com/munchfab/mlts on 2026-10-22.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-21 · The repository has a site deploy workflow

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

Installing mlts adds 80 packages (42 with compiled code, 66 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 3.5.0
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0.0 (2024), Copyright holder
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.1Latest
    record
    2025-12-10 · current release · diff ↗
  • 2.0.0
    record
    2025-12-08 · diff ↗ ·
    added 3 exports
    mlts_paths, mlts_posterior_sample, mlts_pp_check
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    record
    2024-06-27
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-27
Total releases
3 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
10 KB / 2 files
Download size
2.9 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("mlts")

The package provides a citation file, so citation() returns the authors' own entry.

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

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