Description Usage Arguments Details Value Examples
Generate all possible combinations of values in the input vectors and (optionally) write them to a file. Typically used when making scenarios for fitting parameters.
1 2 |
... |
numeric One or more vectors (usually made with seq and the length.out argument) |
write |
logical Should a file with the table be written to disk? |
splits |
numeric The number of files to split the scenarios into. (Optional). If not NULL the files gets written to disk. |
replicates |
numeric The number of replicates to run (Optional). |
expand |
logical Should we expand an n by n grid (TRUE, defalut) or should we just generate a list of parameter ranges provided (FALSE)? |
path |
character Path where ParameterValues.txt will be written to. |
This function is a modification of expand.grid from base.
data.frame One column data.frame where each line is a text string with the config variable and its value
1 2 3 4 | val = seq(1, 5, length.out = 5)
val2 = seq(10, 50, length.out = 5)
GenerateParams('GOOSE_MINFORAGEOPENNESS' = val,
'HUNTERS_MAXDENSITY' = val2, write = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.