generateSimuleesByTrueTheta: Return a generator function that will generate one simulee...

Description Usage Arguments Value Examples

Description

Return a generator function that will generate one simulee each time it is called. The true theta of the generated simulees will come from the next value in the given vector. Once all true thetas have been consumed, no more simulees will be generated.

Usage

1
generateSimuleesByTrueTheta(trueThetas, randomSeeds = NULL)

Arguments

trueThetas

A vector of doubles. The source of true thetas for each simulee.

randomSeeds

A vector of integers. The source of random seeds for each simulee.

Value

A generator function that will generate one simulee each time it is called.

Examples

1
  simulees = generateSimuleesByTrueTheta(-2:2, 10001:10003)

yuehmeir2/CATSimulator documentation built on June 13, 2021, 7:02 p.m.