Skip to content

InteractionPoweR

0.2.4

Power Analyses for Interaction Effects in Cross-Sectional Regressions

1packages depend
5.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by David BarangerFirst published 2022-08-245 releasesCRAN page ↗GitHub ↗

Power analysis for regression models which test the interaction of two or three independent variables on a single dependent variable. Includes options for correlated interacting variables and specifying variable reliability. Two-way interactions can include continuous, binary, or ordinal variables. Power analyses can be done either analytically or via simulation. Includes tools for simulating single data sets and visualizing power analysis results. The primary functions are power_interaction_r2() and power_interaction() for two-way interactions, and power_interaction_3way_r2() for three-way interactions. The function run_pos_power_search() provides a stability analysis for two-way interactions. Please cite as: Baranger DAA, Finsaas MC, Goldstein BL, Vize CE, Lynam DR, Olino TM (2023). "Tutorial: Power analyses for interaction effects in cross-sectional regressions." doi:10.1177/25152459231187531. If you use the stability analyses, please cite: Castillo A, Miller JD, Vize C, Baranger DAA, Lynam DR. "When Do Interaction/Moderation Effects Stabilize in Linear Regression?"doi:10.1177/25152459251407860.

Install

Health

CRAN checks
13OK
Slowest check: 31.7 min · r-release-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-03-28
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

5.6K
CRAN downloads in the past year
Rank #5,665 · ~15/day · ~468/mo
Daily download trend is not available in this view yet.
36230 days
1.6K90 days
5.6K1 year
Compare downloads with other packages →
Also on107 r2u1 autocran

Repository

Repository
23Stars
2Forks
0Open issues
0Open PRs
0Releases
60Commits
1Contributors
License GPL-3.0 · 60 commits · Last activity 2026-03-23

Stars over time

2025-05-11 · 222026-07-07 · 23

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/dbaranger/interactionpower on 2026-07-30.

CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Code & Tests

Datasets

People & History

People (7)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 0.2.4
Contributors (5)
Contributor
Contributor
Contributor
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4Latest
    2026-03-24 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.2
    2024-07-09 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.1
    2023-04-18 · diff ↗
  • 0.2.0
    2022-10-20 · diff ↗
  • 0.1.1
    2022-08-24
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-08-24
Total releases
5 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
0.4 KB / 1 file
Download size
272 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