RAR.optimal {BATSS}R Documentation

'Optimal' control allocation

Description

technically not response adaptive but keeps allocation ratio to control at the square root of active intervention arms

Usage

RAR.optimal(active)

Arguments

active

the 'BATSS' ingredient 'active' corresponding to a logical vector of the same length and order as 'prob0' (i.e., number of arms initially included in the study including the reference group)) and indicating if each arm is active at the look of interest.

Value

RAR.optimal returns a vector of probabilities with length of active.


[Package BATSS version 0.7.14 Index]