ObjectiveTo introduce the theoretical foundation, application scenarios, and implementation in R language of covariate-adaptive randomization (CAR) and restricted randomization (RR). MethodsThis article initially expounds the significance of CAR and RR in clinical trials, particularly in balancing covariates between treatment groups on the basis of dynamic adjustment and pre-defined rules, in order to enhance the accuracy and reliability of trial outcomes. ResultsRR is applicable to large-scale trials, ensuring balance between groups but potentially inducing selection bias; CAR is suitable for small-sample and complex covariate trials, improving accuracy yet having complex implementation. In clinical trials of traditional Chinese medicine, CAR enables personalized group allocation, and RR ensures baseline balance. Dynamic randomization strategies enhance the flexibility of trials. ConclusionThrough code examples in R language, this study offers practical guidance for researchers to implement these randomization methods, ensuring the scientificity and rigor of data processing and analysis.
Response-adaptive randomization (RAR) dynamically adjusts the probability of assigning patients to different groups, optimizing treatment efficacy and participant welfare. It is particularly suitable for clinical studies involving multiple interventions or dose-finding and seamless phase II/III trials. This paper systematically introduces the concept, principles, and types of RAR, as well as its application in clinical trials (including traditional Chinese medicine research). It also provides R implementation code, offering researchers practical tools aimed at promoting the adoption of RAR in clinical practice.