Description Usage Arguments Details Value
This function reads an experimental design from a hmvars object and combines it with the appropriate deck template to create a series of decks implementing the experimental design.
1 2 | BuildDecks(obj, template, basedir = "tmp", overwrite = FALSE,
cases = NULL)
|
obj |
The name of an hmvars object. |
template |
The deck template associated with the hmvars object. |
basedir |
The path to the base directory of a simulation project. The default is a subdirectory of the current directory called "tmp". |
overwrite |
TRUE means overwrite all; FALSE (the default) means don't overwrite anything; NULL means overwrite decks older than the hmvars object. |
cases |
The default is NULL, meaning create a deck for all of the cases in the experimental design. Alternatively, a list of line numbers in the experimental design for the desired cases may be submitted. |
FALSE is the default for overwrite because this would seem to be the most common use case. One would expect to create a design, build decks, and run some cases. After looking as the results and thinking a little, one would add some cases to the experimental design and run some more cases. If the old decks that you have already run were overwritten, they would have a newer file date than the results from the previous runs, and they would be run again.
Returns a list of deck files suitable for use in submitting the cases
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.