| util_reduce_replicates | R Documentation |
Aggregate simulation results over measured ticks and over replicates
util_reduce_replicates(results, cols)
results |
tibble of simulation results, as returned by |
cols |
character vector of metric columns that should be reduced |
Reduction happens in two stages: first the mean over all measured ticks within each replicate,
then the mean over the replicates.
Replicates are identified by the random-seed column.
The two stages matter whenever replicates return a different number of ticks (for example when
an exit condition is defined), because a single mean over all rows would weight long runs
higher than short ones.
tibble with one row and one column per entry of cols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.