Skip to content

mixpower

1.1.1Package record

Simulation-Based Power Analysis for Mixed-Effects Models

0packages depend
2.4Kdownloads / year
80.8%test coverage
13/13flavors OK

Overview

About

A comprehensive, simulation-based toolkit for power and sample-size analysis for linear and generalized linear mixed-effects models (LMMs and GLMMs). Supports Gaussian, binomial, Poisson, and negative binomial families via 'lme4'; Wald and likelihood-ratio tests; multi-parameter sensitivity grids; power curves and minimum sample-size solvers; parallel evaluation with deterministic seeds; and full reproducibility (manifests, result bundling, and export to CSV/JSON). Delivers thorough diagnostics per run (failure rate, singular-fit rate, effective N) and publication-ready summary tables. References: Bates et al. (2015) "Fitting Linear Mixed-Effects Models Using lme4" doi:10.18637/jss.v067.i01; Green and MacLeod (2016) "SIMR: an R package for power analysis of generalized linear mixed models by simulation" doi:10.1111/2041-210X.12504.

Changes in 1.1.1
  • Reduce overall R CMD check time well under CRAN's budget: vignettes now use small toy designs and few iterations, and the heavy simulation/correctness tests are marked skip_on_cran() (they still run in continuous integration and the lme4 path is exercised by examples). No user-facing changes.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 383 wordsVignettesYes · 8 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 1.1.1Citation fileYes · software entry only
Description cites a JSS article
Help pages
55 (2 internal)includes a package overview page
Examples that run
56%10 run in a plain check · 8 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
35%
Documented parameters
97%
Return-value docs
96%
Help pages citing references
2%

Downloads

2.4K
CRAN downloads in the past year
Rank #12,045 · ~7/day · ~200/mo
Daily download trend is not available in this view yet.
34730 days
91390 days
2.4K1 year
Compare downloads with other packages →
Also on61 r2u8 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
2Releases
49Commits
3Commit identities
49 commits · Last activity 2026-06-27 · 0% stars, 30d · Default branch at 1.2.0, ahead of CRAN 1.1.1 (checked 2026-10-18)
Responsiveness
not measured

Stars over time

2026-07-07 · 02026-07-29 · 1
PracticesBeta

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

Checks run against github.com/alitovchenko/mixpower on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (5)
Code of conductContributing guideIssue templatesPR templateSecurity policy
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-03-15 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Show all practicesHide 1 practice
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing mixpower adds 8 packages (6 with compiled code, 11 MB of source tarballs). Heaviest: lme4 4.1 MB, nloptr 2.1 MB, Rcpp 1.8 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer · added in 1.1.1

Maintainer since 0.1.0 (2026)

Listed in earlier versions (1)
Mixpower Alex Litovchenko
no longer listed · 0.1.0
Releases (2)

Pick two releases to compare their code metrics.

  • 1.1.1Latest
    record
    2026-06-25 · current release · diff ↗ ·
    added 29 exports
    mp_backend, mp_backend_glmmtmb, mp_beta_to_d, mp_beta_to_r2, mp_calibrate, mp_compare_models, mp_d_to_beta, mp_extend, mp_f_to_beta, mp_from_fit, mp_grid_sample_size, mp_icc_to_sd, mp_logodds_to_or, mp_methods_text, mp_missing, mp_or_to_logodds, mp_parallel_cluster, mp_power_checkpoint, mp_quick_power, mp_r2_to_beta, mp_recommend_method, mp_safeguard_effect, mp_scenario_glmmtmb_lmm, mp_sd_to_icc, mp_sensitivity_cell_run, mp_sensitivity_parallel, mp_sesoi, mp_t_to_beta, validate_mp_backend
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    record
    2026-02-12
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-12
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
204 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("mixpower")

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

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