Simulate and analyze hierarchical composite endpoints
You can install hce from CRAN:
install.packages("hce")