Package: winr 1.0.0

winr: Randomization-Based Covariance Adjustment of Win Statistics

A multi-visit clinical trial may collect participant responses on an ordinal scale and may utilize a stratified design, such as randomization within centers, to assess treatment efficacy across multiple visits. Baseline characteristics may be strongly associated with the outcome, and adjustment for them can improve power. The win ratio (ignores ties) and the win odds (accounts for ties) can be useful when analyzing these types of data from randomized controlled trials. This package provides straightforward functions for adjustment of the win ratio and win odds for stratification and baseline covariates, facilitating the comparison of test and control treatments in multi-visit clinical trials. For additional information concerning the methodologies and applied examples within this package, please refer to the following publications: 1. Weideman, A.M.K., Kowalewski, E.K., & Koch, G.G. (2024). “Randomization-based covariance adjustment of win ratios and win odds for randomized multi-visit studies with ordinal outcomes.” Journal of Statistical Research, 58(1), 33–48. <doi:10.3329/jsr.v58i1.75411>. 2. Kowalewski, E.K., Weideman, A.M.K., & Koch, G.G. (2023). “SAS macro for randomization-based methods for covariance and stratified adjustment of win ratios and win odds for ordinal outcomes.” SESUG 2023 Proceedings, Paper 139-2023.

Authors:Ann Marie K. Weideman [aut, cre], Elaine K. Kowalewski [aut], Gary G. Koch [aut]

winr_1.0.0.tar.gz
winr_1.0.0.zip(r-4.5)winr_1.0.0.zip(r-4.4)winr_1.0.0.zip(r-4.3)
winr_1.0.0.tgz(r-4.4-any)winr_1.0.0.tgz(r-4.3-any)
winr_1.0.0.tar.gz(r-4.5-noble)winr_1.0.0.tar.gz(r-4.4-noble)
winr_1.0.0.tgz(r-4.4-emscripten)winr_1.0.0.tgz(r-4.3-emscripten)
winr.pdf |winr.html
winr/json (API)

# Install 'winr' in R:
install.packages('winr', repos = c('https://annweideman.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • resp - Respiratory dataset
  • skin - Dermatology dataset

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 1 scripts 206 downloads 2 exports 23 dependencies

Last updated 1 months agofrom:1766fb4985. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:adj_winoddsadj_winratio

Dependencies:clicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rbibutilsRdpackrlangstringistringrtibbletidyrtidyselectutf8vctrswithr