randomizeR (version 1.4.2)

makeBiasedExpectation: Calculate Expectation vector

Description

Calculate Expectation vector

Usage

makeBiasedExpectation(R, mu, bias)

Arguments

R

randomization sequence, an object of type randSeq

mu

vector of length K containing the expectation values of groups 1, …, K

bias

selection or chronological bias object, containing eta(or theta) and alpha

Value

vector of length N with the biased expectation for each patient.