Skip to content

powerHE

1.0.1

Power and Sample Size Calculations with Hierarchical Endpoints

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

Overview

About
Maintained by Sarah WuFirst published 2025-02-102 releasesCRAN page ↗

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

CRAN checks
13OK
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.3K
CRAN downloads in the past year
Rank #22,399 · ~6/day · ~190/mo
powerHE
Daily download trend is not available in this view yet.
19230 days
52790 days
2.3K1 year
Compare downloads with other packages →
Also on97 r2u5 autocran
Source & community

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,058 (76%)Rd 334 (24%)

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.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Release timeline

2 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.0.1Latest
    2025-03-24 · current release · diff ↗
  • 1.0.0
    2025-02-10
  • R
    R 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