Learn R Programming

⚠️There's a newer version (0.7.2) of this package.Take me there.

hce

Simulate and analyze hierarchical composite endpoints

Download

You can install hce from CRAN:

install.packages("hce")

Copy Link

Version

Install

install.packages('hce')

Monthly Downloads

298

Version

0.6.3

License

MIT + file LICENSE

Maintainer

Samvel B. Gasparyan

Last Published

August 19th, 2024

Functions in hce (0.6.3)

regWO

A generic function for win odds regression
calcWO.formula

Win odds calculation using formula syntax
sizeWR

Sample size calculation for the win ratio test (with WR = 1 null hypothesis)
regWO.data.frame

Win odds regression using a data frame
stratWO

A generic function for stratified win odds with adjustment
summaryWO.formula

Win odds summary using formula syntax
simORD

Simulate ordinal variables for two treatment groups using categorization of beta distributions
calcWO.hce

Win odds calculation for hce objects
powerWO

Power calculation for the win odds test (no ties)
summaryWO.data.frame

Win odds summary for a data frame
sizeWO

Sample size calculation for the win odds test (no ties)
calcWINS.formula

Win statistics calculation using formula syntax
propWINS

Proportion of wins/losses/ties given the win odds and the win ratio
summaryWO

A generic function for summarizing win odds
stratWO.data.frame

Stratified win odds with adjustment
hce

Helper function for hce objects
print.hce_results

A print method for hce_results objects
calcWINS.hce

Win statistics calculation for hce objects
minWO

Minimum detectable or WO for alternative hypothesis for given power (no ties)
HCE1

HCE1, HCE2, HCE3, HCE4 datasets for 1000 patients with different treatment effects.
summaryWO.hce

Win odds summary for hce objects
calcWINS.data.frame

Win statistics calculation using a data frame
calcWINS

A generic function for calculating win statistics
simADHCE

Simulate adhce object with given event rates of time-to-event outcomes (Weibull), mean and SD of the continuous outcome (normal or log-normal) by treatment group
simHCE

Simulate hce object with given event rates of time-to-event outcomes (Weibull), mean and SD of the continuous outcome (normal or log-normal) by treatment group
COVID19b

COVID-19 ordinal scale dataset (preliminary report).
HCE4

HCE1, HCE2, HCE3, HCE4 datasets for 1000 patients with different treatment effects.
KHCE

Kidney Hierarchical Composite Endpoint dataset.
ADET

Event-Time dataset for kidney outcomes.
HCE2

HCE1, HCE2, HCE3, HCE4 datasets for 1000 patients with different treatment effects.
ADLB

Laboratory dataset for Glomerular Filtration Rate (GFR) measurements.
plot.hce_results

A print method for hce_results objects
HCE3

HCE1, HCE2, HCE3, HCE4 datasets for 1000 patients with different treatment effects.
calcWO

A generic function for calculating win odds
calcWO.data.frame

Win odds calculation using a data frame
as_hce

A generic function for coercing data structures to hce objects
as_hce.data.frame

Coerce a data frame to an hce object
ADSL

Baseline characteristics dataset of patients with kidney function assessments.
COVID19

COVID-19 ordinal scale dataset (full report).