makeBiasedExpectation function

Calculate Expectation vector

Calculate Expectation vector

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

Returns

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

  • Maintainer: Ralf-Dieter Hilgers
  • License: GPL (>= 3)
  • Last published: 2023-09-18

Useful links