RAR.trippa {BATSS} | R Documentation |
RAR of Trippa et al. (2012)
Description
define the group allocation probabilities based on the response adaptive randomisation rule of Trippa et al. (2012)
Usage
RAR.trippa(posterior, n, N, ref, active, gamma, eta, nu)
Arguments
posterior |
the 'BATSS' ingredient ' |
n |
the 'BATSS' ingredient ' |
N |
the 'BATSS' ingredient '‘N’ corresponding to the maximum (planned) sample size. |
ref |
the 'BATSS' ingredient ' |
active |
the 'BATSS' ingredient ' |
gamma |
a scaling factor (to be defined in |
eta |
a scaling factor (to be defined in |
nu |
a scaling factor (to be defined in |
Value
RAR.trippa returns a vector of probabilities with length of active.