Package: RARtrials Type: Package Title: Response-Adaptive Randomization in Clinical Trials Version: 0.0.1 Authors@R: c(person(given="Chuyao", family="Xu", role=c("aut","cre"), email="cxu870@aucklanduni.ac.nz"), person(given="Thomas", family="Lumley", role=c("aut","ths"), email="t.lumley@auckland.ac.nz"), person(given="Alain", family="Vandal", role=c("aut","ths"), email="alain.vandal@auckland.ac.nz"), person(given="Sofia S.", family="Villar", role=c("cph"), email="sofia.villar@mrc-bsu.cam.ac.uk"), person(given="Kyle J.", family="Wathen", role=c("cph"), email="kylewathen@gmail.com") ) Maintainer: Chuyao Xu Description: Some response-adaptive randomization methods commonly found in literature are included in this package. These methods include the randomized play-the-winner rule for binary endpoint (Wei and Durham (1978) ), the doubly adaptive biased coin design with minimal variance strategy for binary endpoint (Atkinson and Biswas (2013) , Rosenberger and Lachin (2015) ) and maximal power strategy targeting Neyman allocation for binary endpoint (Tymofyeyev, Rosenberger, and Hu (2007) ) and RSIHR allocation with each letter representing the first character of the names of the individuals who first proposed this rule (Youngsook and Hu (2010) , Bello and Sabo (2016) ), A-optimal Allocation for continuous endpoint (Sverdlov and Rosenberger (2013) ), Aa-optimal Allocation for continuous endpoint (Sverdlov and Rosenberger (2013) ), generalized RSIHR allocation for continuous endpoint (Atkinson and Biswas (2013) ), Bayesian response-adaptive randomization with a control group using the Thall \& Wathen method for binary and continuous endpoints (Thall and Wathen (2007) ) and the forward-looking Gittins index rule for binary and continuous endpoints (Villar, Wason, and Bowden (2015) , Williamson and Villar (2019) ). Encoding: UTF-8 Collate: 'brar_select_au_binary.r' 'brar_select_au_known_var.r' 'brar_select_au_unknown_var.r' 'convert_gamma_to_chisq.r' 'convert_chisq_to_gamma.r' 'update_par_nichisq.r' 'pgreater_beta.r' 'pgreater_normal.r' 'pgreater_NIX.r' 'pmax_beta.r' 'pmax_normal.r' 'pmax_NIX.r' 'sim_brar_binary.r' 'sim_brar_known_var.r' 'sim_brar_unknown_var.r' 'flgi_cut_off_binary.r' 'flgi_cut_off_known_var.r' 'flgi_cut_off_unknown_var.r' 'Gittins.r' 'sim_flgi_binary.r' 'sim_flgi_known_var.r' 'sim_flgi_unknown_var.r' 'dabcd_max_power.r' 'dabcd_min_var.r' 'sim_RPTW.r' 'sim_A_optimal_known_var.r' 'sim_A_optimal_unknown_var.r' 'sim_Aa_optimal_known_var.r' 'sim_Aa_optimal_unknown_var.r' 'sim_dabcd_max_power.r' 'sim_dabcd_min_var.r' 'sim_RSIHR_optimal_known_var.r' 'sim_RSIHR_optimal_unknown_var.r' 'functions.r' 'RAR-package.r' Depends: R(>= 4.3), stats, pins Imports: Rdpack(>= 0.7) RdMacros: Rdpack RoxygenNote: 7.3.1 Suggests: knitr, rmarkdown, testthat (>= 3.0.0) Config/testthat/edition: 3 VignetteBuilder: knitr License: GPL (>= 3) URL: https://github.com/yayayaoyaoyao/RARtrials Config/pak/sysreqs: cmake make libuv1-dev libssl-dev Repository: https://yayayaoyaoyao.r-universe.dev Date/Publication: 2026-02-03 01:17:59 UTC RemoteUrl: https://github.com/yayayaoyaoyao/rartrials RemoteRef: HEAD RemoteSha: 0aaf5bad2a97aefedd1d11453b4716c450c28a72 NeedsCompilation: no Packaged: 2026-10-08 12:25:38 UTC; root Author: Chuyao Xu [aut, cre], Thomas Lumley [aut, ths], Alain Vandal [aut, ths], Sofia S. Villar [cph], Kyle J. Wathen [cph]