# Design and Analysis of Hierarchical Composite Endpoints

## Documentation for package ‘hce’ version 0.5.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

calcWINS | A generic function for calculating win statistics
calcWINS.data.frame | Win statistics calculation using a data frame
calcWINS.formula | Win statistics calculation using formula syntax
calcWINS.hce | Win statistics calculation for 'hce' objects
calcWO | A generic function for calculating win odds
calcWO.data.frame | Win odds calculation using a data frame
calcWO.formula | Win odds calculation using formula syntax
calcWO.hce | Win odds calculation for 'hce' objects
COVID19 | COVID-19 ordinal scale dataset (full report).
COVID19b | COVID-19 ordinal scale dataset (preliminary report).
hce | Helper function for 'hce' objects
HCE1 | 'HCE1', 'HCE2', 'HCE3', 'HCE4' datasets for 1000 patients with different treatment effects.
HCE2 | 'HCE1', 'HCE2', 'HCE3', 'HCE4' datasets for 1000 patients with different treatment effects.
HCE3 | 'HCE1', 'HCE2', 'HCE3', 'HCE4' datasets for 1000 patients with different treatment effects.
HCE4 | 'HCE1', 'HCE2', 'HCE3', 'HCE4' datasets for 1000 patients with different treatment effects.
minWO | Minimum detectable or WO for alternative hypothesis for given power (no ties)
new_hce | Constructor function for 'hce' objects
plot.hce_results | A print method for 'hce_results ' objects
powerWO | Power calculation for the win odds test (no ties)
print.hce_results | A print method for 'hce_results' objects
propWINS | Proportion of wins/losses/ties given the win odds and the win ratio
regWO | A generic function for win odds regression
regWO.data.frame | Win odds regression using a data frame
simHCE | Simulate 'hce' object with given event rates of time-to-event outcomes, mean and SD of the continuous outcome by treatment group
sizeWO | Sample size calculation for the win odds test (no ties)
sizeWR | Sample size calculation for the win ratio test (with WR = 1 null hypothesis)
summaryWO | A generic function for summarizing win odds
summaryWO.data.frame | Win odds summary for a data frame
summaryWO.formula | Win odds summary using formula syntax
summaryWO.hce | Win odds summary for 'hce' objects
validate_hce | Validator function for 'hce' objects