Skip to content

mpower

0.1.0

Power Analysis via Monte Carlo Simulation for Correlated Data

0packages depend
3.1Kdownloads / year
27.5%test coverage
11/13checks pass

Overview

About
Maintained by Phuc H. NguyenFirst published 2022-09-211 releasesCRAN page ↗

A flexible framework for power analysis using Monte Carlo simulation for settings in which considerations of the correlations between predictors are important. Users can set up a data generative model that preserves dependence structures among predictors given existing data (continuous, binary, or ordinal). Users can also generate power curves to assess the trade-offs between sample size, effect size, and power of a design. This package includes several statistical models common in environmental mixtures studies. For more details and tutorials, see Nguyen et al. (2022) arXiv:2209.08036.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.05
27.5%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    11 OK · 1 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 791 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
0%

Downloads

3.1K
CRAN downloads in the past year
Rank #13,382 · ~8/day · ~254/mo
Daily download trend is not available in this view yet.
25330 days
76690 days
3.1K1 year
Compare downloads with other packages →
Also on112 r2u2 autocran

Dependencies

Declared dependencies
25 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

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2022-09-21
Total releases
1 / 4 yrs
License
LGPL
Minimum R
≥ 3.5.0
Bundled data
686 KB / 1 file
Download size
831 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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