Skip to content

hce

0.9.4

Design and Analysis of Hierarchical Composite Endpoints

1packages depend
6.6Kdownloads / year
32.8%test coverage
13/13checks pass

Overview

About
Maintained by Samvel B. GasparyanFirst published 2022-09-2619 releasesCRAN page ↗GitHub ↗

Simulate and analyze hierarchical composite endpoints with univariate distributions by Gasparyan, Koch, Brunner in (2025) in “The Univariate Distribution of Hierarchical Composite Endpoints and the Condorcet Non-transitivity Paradox.” (Biometrical Journal 68 (3), doi:10.1002/bimj.70140). Includes implementation for the kidney hierarchical composite endpoint as defined in Heerspink HL et al (2023) “Development and validation of a new hierarchical composite end point for clinical trials of kidney disease progression” (Journal of the American Society of Nephrology 34 (2): 2025–2038, doi:10.1681/ASN.0000000000000243). Win odds, also called Wilcoxon-Mann-Whitney or success odds, is the main analysis method, but other win statistics (win probability, win ratio, net benefit) are also implemented in the univariate case. The win probability analysis is based on the Brunner-Munzel test and uses the DeLong-DeLong-Clarke-Pearson variance estimator, as described by Brunner and Konietschke (2025) in “An unbiased rank-based estimator of the Mann–Whitney variance including the case of ties” (Statistical Papers 66 (1): 20, doi:10.1007/s00362-024-01635-0). Includes implementation of a new Wilson-type, compatible confidence interval for the win odds, as proposed by Schüürhuis, Konietschke, Brunner (2025) in “A new approach to the nonparametric Behrens–Fisher problem with compatible confidence intervals.” (Biometrical Journal 67 (6), doi:10.1002/bimj.70096). Stratification and covariate adjustment are performed based on the methodology presented by Koch GG et al. in “Issues for covariance analysis of dichotomous and ordered categorical data from randomized clinical trials and non-parametric strategies for addressing them” (Statistics in Medicine 17 (15-16): 1863–92). For a review, see Gasparyan SB et al (2021) “Adjusted win ratio with stratification: Calculation methods and interpretation” (Statistical Methods in Medical Research 30 (2): 580–611, doi:10.1177/0962280220942558).

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.05
32.8%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 23 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
95%
References docs
37%

Downloads

6.6K
CRAN downloads in the past year
Rank #5,952 · ~18/day · ~549/mo
Daily download trend is not available in this view yet.
23830 days
1.3K90 days
6.6K1 year
Compare downloads with other packages →
Also on148 r2u24 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-06-26

Repository practices

Upstream repositoryBeta

Checks run against github.com/samve/hce on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Code & Tests

Datasets

People & History

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

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

  • 0.9.4Latest
    2026-06-26 · current release · diff ↗
  • 0.9.3
    2026-05-13 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.1
    2026-03-13 · diff ↗
  • 0.9.0
    2026-01-29 · diff ↗
  • 0.8.8
    2025-12-05 · diff ↗
  • 0.8.5
    2025-08-22 · diff ↗
  • 0.8.0
    2025-07-11 · diff ↗
  • 0.7.2
    2025-05-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.0
    2025-03-05 · diff ↗
  • 0.6.7
    2025-01-07 · diff ↗
  • 0.6.5
    2024-10-16 · diff ↗
  • 0.6.3
    2024-08-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.0
    2024-03-12 · diff ↗
Show 8 earlier events
  • 0.5.9
    2023-10-31 · diff ↗
  • 0.5.8
    2023-08-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.0
    2023-01-16 · diff ↗
  • 0.4.0
    2023-01-05 · diff ↗
  • 0.0.8
    2022-11-16 · diff ↗
  • 0.0.2
    2022-09-26
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-09-26
Total releases
19 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
94 KB / 11 files
Download size
2.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hce")
Gasparyan, S. B. (2026). hce: Design and Analysis of Hierarchical Composite Endpoints (Version 0.9.4) [Computer software]. https://doi.org/10.32614/CRAN.package.hce

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 hce version 0.9.4 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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