Description Usage Arguments Value Author(s)
View source: R/01.GenerateData.R
Generate a Scenario object, a list of ScenarioDistResNet objects, each of which corresponds to one simulation scenario by combining the possible values given.
1 2 | GenerateScenarios(lstLstN, lstLstAssignCovariates, lstLstAlphas, lstLstBetas,
lstLstSurvParams, mix)
|
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 |
Scenarios object, which is a list of ScenarioDistResNet objects. Each ScenarioDistResNet a parameter set for a single scenario.
Kazuki Yoshida
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.