powerHE
1.0.1Power and Sample Size Calculations with Hierarchical Endpoints
Overview
Calculate sample size or power for hierarchical endpoints. The package can handle any type of outcomes (binary, continuous, count, ordinal, time-to-event) and any number of such endpoints. It allows users to calculate sample size with a given power or to calculate power with a given sample size for hypothesis testing based on win ratios, win odds, net benefit, or DOOR (desirability of outcome ranking) as treatment effect between two groups for hierarchical endpoints. The methods of this package are described further in the paper by Barnhart, H. X. et al. (2024, <doi:10.1080/19466315.2024.2365629>).
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository stars, issues, and contributor activity are not tracked yet.
Dependencies
Nothing depends on this yet.
Code & Tests
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
7 2 exported
Complexity
18 avg / 70 max
Call network
7 nodes / 5 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.1Latest
- 1.0.02025-02-10
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-02-10
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 2) OSI
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet