Description Usage Arguments Details
Handle callback functions passed to itertracer].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
sample_chains |
function to go through the separate chains; e.g. an application of parallel::mclapply |
on_init |
called on initiation of itertracer] |
param_order |
when stepping through parameters within an iteration, this function is called to determine the order of the parameters |
on_iter_start |
called on start of an iteration before anything else |
save_iter |
called to save the result of an iteration |
on_iter_finish |
called on finishing an iteration |
break_if |
iterating is terminated when this function returns TRUE; you can e.g. set a maximum time this way |
on_chain_completion |
called when all the iterations have been completed in a chain |
on_sampling_completion |
called when all chains have finished / have been interrupted |
on_exit |
called on exit even when an error is raised by using on.exit |
itertracer_callbacks_defaults
returns a list of default callback functions
used by itertracer] when the user does not define custom callbacks
itertracer_callbacks
accepts functions as arguments and returns a list
of callback functions to be used by itertracer], supplemented by
defaults from itertracer_callbacks_defaults as necessary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.