WR: Win Ratio Analysis of Composite Time-to-Event Outcomes

Description

Implements various win ratio methodologies for composite endpoints of death and nonfatal events, including the (stratified) proportional win-fractions (PW) regression models (Mao and Wang, 2021 <doi:10.1111/biom.13382>), (stratified) two-sample tests with possibly recurrent nonfatal events (Mao et al., 2022 <doi:10.1177/09622802221084134>), and sample size calculation for standard win ratio test (Mao et al., 2021 <doi:10.1111/biom.13501>).