Skip to content

mlpwr

1.1.1Package record

A Power Analysis Toolbox to Find Cost-Efficient Study Designs

1packages depend
3.2Kdownloads / year
–test coverage
0/13flavors OK

Overview

About

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).

Changes in 1.1.1

Added 5 new vignettes contributed by Marc Egli with walkthroughs through various applications: ANOVA, GLM, IRT, multilevel model, t-test.

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘example.simfun.R’ ‘fit.surrogate.R’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'example.simfun.R' 'fit.surrogate.R'

CRAN check page ↗

Slowest check: 14.7 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-05-02
  • ERROR11 NOTE, 1 ERROR2026-04-25
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 526 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 1.1.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
7
Examples that run
83%5 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.2K
CRAN downloads in the past year
Rank #12,797 · ~9/day · ~263/mo
Daily download trend is not available in this view yet.
44630 days
88290 days
3.2K1 year
Compare downloads with other packages →
Also on91 r2u6 autocran

Repository

5Stars
0Forks
0Open issues
0Open PRs
4Releases
91Commits
2Commit identities
License file reads as GPL-3.0 · 91 commits · Last activity 2024-10-04 · 0% stars, 30d · Default branch at 1.1.1.9000, ahead of CRAN 1.1.1 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-03 · 52026-10-19 · 5
PracticesBeta

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

Checks run against github.com/flxzimmer/mlpwr on 2026-10-21.

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 (1)
README.Rmd
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing mlpwr adds 27 packages (16 with compiled code, 24 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, isoband 1.5 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2022)
Contributor · added in 1.1.1
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1Latest
    record
    2024-10-04 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    record
    2023-08-07 · diff ↗ ·
    added 1 export
    simulations_data
  • 1.0.1
    record
    2023-07-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    record
    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

Cite

Cite this package

Run in R for the authors' entry:

citation("mlpwr")

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

It points to 10.1037/met0000611.

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-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