GenerateScenarios: Generate Scenarios object containing multiple DRN scenarios.

Description Usage Arguments Value Author(s)

View source: R/01.GenerateData.R

Description

Generate a Scenario object, a list of ScenarioDistResNet objects, each of which corresponds to one simulation scenario by combining the possible values given.

Usage

1
2
GenerateScenarios(lstLstN, lstLstAssignCovariates, lstLstAlphas, lstLstBetas,
  lstLstSurvParams, mix)

Arguments

lstLstN

list of lists of sample sizes

lstLstAlphas

list of lists of covariate generating functions

lstLstBetas

list of lists of beta parameters

lstLstSurvParams

list of lists of survival parameters

mix

whether to mix parameter sets. If FALSE, the first parameter sets for all domains are combined as the first scenario, etc. The parameter set has to be of the same length in this case.

lstLstAlphas

list of lists of alpha parameters

Value

Scenarios object, which is a list of ScenarioDistResNet objects. Each ScenarioDistResNet a parameter set for a single scenario.

Author(s)

Kazuki Yoshida


kaz-yos/distributed documentation built on May 27, 2019, 4:50 a.m.