RunModel: RunModel()

Description Usage Arguments Value Examples

Description

Use this function to run the model that was generated by ReadModel().

Usage

1
2
RunModel(model, iter = 1e+05, out.length = 100, burn.length = 10000,
  jmp = 1)

Arguments

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.)

Value

solution of the xsample run as a dataframe.

Examples

1
RunModel(model.A, iter=1e5, out.length=150, iter.burn=10000, jmp=2)

tbrycekelly/CCELIM documentation built on May 31, 2019, 7:27 a.m.