Package: RARtrials
Type: Package
Title: Response-Adaptive Randomization in Clinical Trials
Version: 0.0.2
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  <cxu870@aucklanduni.ac.nz>
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) <doi:10.2307/2286290>), the doubly adaptive biased coin design with minimal variance strategy for binary endpoint (Atkinson and Biswas (2013) <doi:10.1201/b16101>, Rosenberger and Lachin (2015) <doi:10.1002/9781118742112>) and maximal power strategy targeting Neyman allocation for binary endpoint (Tymofyeyev, Rosenberger, and Hu (2007) <doi:10.1198/016214506000000906>) 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) <doi:10.1198/sbr.2009.0056>, Bello and Sabo (2016) <doi:10.1080/00949655.2015.1114116>), A-optimal Allocation for continuous endpoint (Sverdlov and Rosenberger (2013) <doi:10.1080/15598608.2013.783726>), Aa-optimal Allocation for continuous endpoint (Sverdlov and Rosenberger (2013) <doi:10.1080/15598608.2013.783726>), generalized RSIHR allocation for continuous endpoint (Atkinson and Biswas (2013) <doi:10.1201/b16101>), Bayesian response-adaptive randomization with a control group using the Thall \& Wathen method for binary and continuous endpoints (Thall and Wathen (2007) <doi:10.1016/j.ejca.2007.01.006>) and the forward-looking Gittins index rule for binary and continuous endpoints (Villar, Wason, and Bowden (2015) <doi:10.1111/biom.12337>, Williamson and Villar (2019) <doi:10.1111/biom.13119>).
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
NeedsCompilation: no
Packaged: 2025-04-03 09:57:41 UTC; Chuyao
Author: Chuyao Xu [aut, cre],
  Thomas Lumley [aut, ths],
  Alain Vandal [aut, ths],
  Sofia S. Villar [cph],
  Kyle J. Wathen [cph]
Repository: CRAN
Date/Publication: 2025-04-03 10:30:02 UTC
Built: R 4.6.0; ; 2026-04-25 19:27:39 UTC; unix
