randomizeR (version 3.0.2)

getbiasCS1: Biasing Policy for a Group of Favored Treatments

Description

Calculate vector with the selection bias for each patient

Usage

getbiasCS1(R, K, pref)

Value

vector with the selection bias for each patient

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