Skip to content

mlstats

0.1.2Package record

Multilevel Descriptive Statistics and Data Preparation

0packages depend
994downloads / year
97.6%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.2
  • mldesc() and within_between_correlations() now report the number of groups, the total number of observations, and observations per group (e.g., "Based on 100 persons and 1,184 observations (median 12 per person; range: 5–14).") in a note. The note can be replaced via the new group_size_note argument of the print() methods.
  • The bundled media_diary example dataset now has a variable number of diary days per person (5–14, median 12; 1,184 rows total) instead of a fixed 14 days (1,400 rows), simulating realistic non-response in a mobile diary study.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-12
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 557 wordsVignettesYes · 5 · dynamicNEWSYes · 100% structured · mentions 0.1.2Citation fileNoWebsiteYes · pkgdown
Help pages
5 (1 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
60%

Downloads

994
CRAN downloads in the past year
Rank #14,325 · ~3/day · ~83/mo
Daily download trend is not available in this view yet.
37130 days
82890 days
9941 year
Compare downloads with other packages →
Also on26 r2u2 autocran

Repository

12Stars
1Forks
0Open issues
0Open PRs
3Releases
86Commits
1Commit identities
86 commits · Last activity 2026-09-23 · Default branch at 0.1.2.9000, ahead of CRAN 0.1.2 (checked 2026-10-22)
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
0

Releases over time

2026-07-12 · 12026-09-24 · 3
PracticesBeta

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

Checks run against github.com/felixdidi/mlstats on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-23 · The repository has a site deploy workflow

pkgdown site last built 2026-09-23

Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 1 practice
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing mlstats adds 31 packages (17 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, lme4 4.3 MB, nloptr 2.1 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Releases (3)

Pick two releases to compare their code metrics.

Package metadata

First published
2026-07-11
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
5.2 KB / 1 file
Download size
870 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mlstats")
Dietrich, F. (2026). mlstats: Multilevel Descriptive Statistics and Data Preparation (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.mlstats

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

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