randomizeR (version 1.4.2)

getbiasCS1: Biasing Policy for a Group of Favoured Treatments

Description

Calculate vector with the selection bias for each patient

Usage

getbiasCS1(R, K, pref)

Arguments

R

randomization sequence, a integer vector with entries 1, …, K, of length N

K

number of treatment groups, a single integer value

pref

preferred groups for the guessing

Value

vector with the selection bias for each patient