Skip to content

mlpwr

1.1.1

A Power Analysis Toolbox to Find Cost-Efficient Study Designs

0packages depend
2.9Kdownloads / year
test coverage
0/13checks pass

Overview

About
Maintained by Felix ZimmerFirst published 2022-10-144 releasesCRAN page ↗GitHub ↗

We implement a surrogate modeling algorithm to guide simulation-based sample size planning. The method is described in detail in our paper (Zimmer & Debelak (2023) doi:10.1037/met0000611). It supports multiple study design parameters and optimization with respect to a cost function. It can find optimal designs that correspond to a desired statistical power or that fulfill a cost constraint. We also provide a tutorial paper (Zimmer et al. (2023) doi:10.3758/s13428-023-02269-0).

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 15.7 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
8
Dependencies · direct
Check history
  • NOTE2026-05-02
    0 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    0 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 526 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.9K
CRAN downloads in the past year
Rank #14,177 · ~8/day · ~243/mo
Daily download trend is not available in this view yet.
14730 days
72390 days
2.9K1 year
Compare downloads with other packages →
Also on124 r2u20 autocran

Repository

Repository
5Stars
0Forks
0Open issues
0Open PRs
4Releases
91Commits
2Contributors
License GPL-3.0 · 91 commits · Last activity 2024-10-04

Stars over time

2025-07-03 · 52026-07-07 · 5

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/flxzimmer/mlpwr on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (1)
Contributor · added in 1.1.1
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1Latest
    2024-10-04 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    2023-08-07 · diff ↗
  • 1.0.1
    2023-07-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    2022-10-14
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-10-14
Total releases
4 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
162 KB / 1 file
Download size
964 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mlpwr")
Zimmer, F., Debelak, R., & Egli, M. (2024). mlpwr: A Power Analysis Toolbox to Find Cost-Efficient Study Designs (Version 1.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.mlpwr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

From data release v2026-08-18, 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