| counter_tally {switchboard} | R Documentation |
A tally counter to keep track of the number of simulation iterations.
Description
The counter_tally widget displays a tally of simulation iterations.
Arguments
label |
A small caption/label for the widget. |
size |
A number used to designate the size (magnification) of the
widget. The default is set to |
placeOnGrid |
A row by column coordinate (e.g., |
Value
Nothing.
Usage
counter_tally(label = "", size = 1, placeOnGrid = c(1, 1))
See Also
Other eavesdroppers:
benchmark(),
counter(),
eavesdropper_2D(),
eavesdropper_X(),
eavesdropper(),
injector_2D(),
injector_X(),
injector(),
number_pair(),
number_quartet(),
number_trio(),
number(),
progress_benchmark()
Examples
## Not run:
for (i in 1:250) {
switchboard(delay = 0.01) %>%
counter_tally(label = "tallying 250")
}
switchboard_close()
## End(Not run)