The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

mlstats: Multilevel Descriptive Statistics and Data Preparation

Provides tools for multilevel descriptive statistics and data preparation. Computes within-group and between-group correlations (via variance decomposition or two-level structural equation modeling), intraclass correlation coefficients (ICCs), and descriptive statistics for nested data (e.g., repeated measurements per person), supporting both frequentist (via 'lme4' or 'lavaan') and Bayesian (via 'brms') estimation. Results are formatted according to APA standards and can be exported as tables using 'gt' or 'tinytable'. Also includes functions for decomposing variables into within-group and between-group components for use in Random Effects Within-Between (REWB) models.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: cli, dplyr, lme4, pillar, rlang, scales, stringr, tibble, tinytable, vctrs
Suggests: brms, gt, knitr, lavaan, lmerTest, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-07-11
DOI: 10.32614/CRAN.package.mlstats
Author: Felix Dietrich [aut, cre, cph]
Maintainer: Felix Dietrich <mail at felix-dietrich.de>
BugReports: https://github.com/felixdidi/mlstats/issues
License: MIT + file LICENSE
URL: https://felixdidi.github.io/mlstats/, https://github.com/felixdidi/mlstats
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: mlstats results

Documentation:

Reference manual: mlstats.html , mlstats.pdf
Vignettes: Statistical Details: Within- and Between-Group Correlation Methods (source, R code)
Getting Started with mlstats (source, R code)
Multilevel Descriptive Statistics (source, R code)
REWB Models (source, R code)
Publication-Ready Tables (source, R code)

Downloads:

Package source: mlstats_0.1.0.tar.gz
Windows binaries: r-devel: mlstats_0.1.0.zip, r-release: mlstats_0.1.0.zip, r-oldrel: mlstats_0.1.0.zip
macOS binaries: r-release (arm64): mlstats_0.1.0.tgz, r-oldrel (arm64): mlstats_0.1.0.tgz, r-release (x86_64): mlstats_0.1.0.tgz, r-oldrel (x86_64): mlstats_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mlstats to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.