Description Usage Arguments Value Author(s) Examples
Simulates a clinical trial one time with retricted randomizaion procedure
1  rr(nsbj, w, proc, proc_param, distr, distr_param)

nsbj 
number of subjects to randomize. 
w 
vector of fixed allocation ratio (integers with GCD = 1). 
proc 
name of randomization procedure 
proc_param 
tuning parameter of randomization procedure (NA for 
distr 
distribution of response 
distr_param 
parameter(s) of the response distribution (a list with numeric vector(s) with the
same length as 
a list with three items:
treatement
– a vector of treatment assignments,
response
– a vector of responses,
Imb
– a vector of imbalances at each step,
FI
– a vector of forcing indecies at each step,
MPM1
– a vector of momentums of probability mass based on expected
predicted imbalance,
CMPM1
– cumulative MPM1
MPM2
– a vector of momentums of probability mass based on the expected
imbalance,
CMPM2
– cumulative MPM2
probability
– a matrix with allocation probabilities at each step,
allocation
– a matrix of allocation proportions at each step.
Yevgen Ryeznik ([email protected]), Oleksandr Sverdlov
1 2 3 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.