Class which defines a gatherer for the Monte Carlo simulated values. It has methods to return the Monte Carlo estimate and Monte Carlo Standard Error of the estimate as well as a convergence table.
mc_gatherer
Object of R6Class
R6Class
object.
new
Constructor method
dump_result
Saves the argument result
which is
a numeric scalar
get_results
Returns the Monte Carlo estimate and the (estimated) Monte Carlo Standard Error of the estimate
convergence_table
Returns the convergence table
plot
Plots a Monte Carlo convergence graph at 95% level