Provides functions and command-line user interface to generate allocation sequence
by response-adaptive randomization for clinical trials. The package currently supports
two families of frequentist response-adaptive randomization procedures, Doubly Adaptive
Biased Coin Design ('DBCD') and Sequential Estimation-adjusted Urn Model ('SEU'), for
binary and normal endpoints. One-sided proportion (or mean) difference and Chi-square
(or 'ANOVA') hypothesis testing methods are also available in the package to facilitate
the inference for treatment effect. Additionally, the package provides comprehensive and
efficient tools to allow one to evaluate and compare the performance of randomization
procedures and tests based on various criteria. For example, plots for relationship among
assumed treatment effects, sample size, and power are provided. Five allocation functions
for 'DBCD' and six addition rule functions for 'SEU' are implemented to target allocations
such as 'Neyman', 'Rosenberger' Rosenberger et al. (2001)
The goal of RARfreq is to …
You can install the development version of RARfreq like so:
install.packages("path/to/RARfreq_0.1.0.tar.gz", repos = NULL, type = "source")
You can update the source code of the package and build the package using the following codes:
library(devtools)
check()
install()
library(RARfreq)
?power_comparison_Power_vs_n
build()
build(binary = T, vignettes = T, manual = T)