powered by
Calculate vector with the selection bias for each patient
getbiasCS1(R, K, pref)
vector with the selection bias for each patient
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