powered by
Calculate vector with the selection bias for each patient
getbiasCS1(R, K, pref)
randomization sequence, a integer vector with entries 1, …, K, of length N
number of treatment groups, a single integer value
preferred groups for the guessing
vector with the selection bias for each patient