Description Usage Arguments Details Value
This functions runs profiles on a TCSAM2015 model.
1 2 3 4 |
os |
- 'win' or 'mac' or 'osx' |
path |
- path to parent folder for model output |
model |
- TCSAM2015 model executable name |
path2model |
- path to model executable |
profiles |
- dataframe with variables to profile on in each row |
runSeqs |
- TRUE to run sequences, FALSE to jitter |
numRuns |
- number of sequences or jitters to run |
mcmc |
- flag (T/F) to run mcmc on "best" model |
mc.N |
- number of mcmc iterations to make |
mc.save |
- number of iterations to skip when saving mcmc calculations |
mc.scale |
- number of iterations to adjust scale for mcmc calculations |
plotResults |
- T/F to plot final results within each profile using |
configFile |
- path to model configuration file template |
controlFile |
- path to model control file template |
This function creates a shell script ('./tmp.sh') in the working directory and uses it to run a version of the TCSAM2015 model. Initial model parameters can be jittered based on the system clock time as a seed to the random number generator. The seed and final objective function value are saved for each model run in a csv file (the value of out.csv).
- par file dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.