Description Usage Arguments Value Examples
Use this function to run the model that was generated by ReadModel().
1 2 | RunModel(model, iter = 1e+05, out.length = 100, burn.length = 10000,
jmp = 1)
|
model |
The loaded dataframe structure generated by ReadModel(). |
iter |
The total number of steps for the simulation to take. Well have to try out several orders of magnitude to ensure convergence of the Markov Chain. |
out.length |
The number of solutions to output for analysis. A solution is saved every iter/out.length steps. |
jmp |
The relative distance between one step and the next. Larger the value the more likely a step to be rejected, and the smaller the step the more of them that will be required to reach convergence. (I adjust it to achive an acceptance ratio of ~0.234). |
iter.burn |
The number of steps to take before sampling solutions for the final output. (Typically some fraction of iter.) |
solution of the xsample run as a dataframe.
1 | RunModel(model.A, iter=1e5, out.length=150, iter.burn=10000, jmp=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.