| tidy.seqbench_comparison | R Documentation |
One row per instance with the estimate, the confidence sequence at that time, its running intersection, cumulative cost and the decision the procedure would have taken there.
## S3 method for class 'seqbench_comparison'
tidy(x, ...)
x |
A |
... |
Unused. |
A tibble with columns t, instance, n_seeds, x,
estimate, lower, upper, lower_running, upper_running, cost,
cost_cum, decision.
design <- comparison_design(margin = 0.05, bounds = c(0, 1), boundary = "hoeffding")
state <- update_comparison(initialize_comparison(design),
data.frame(instance = 1:5, loss_a = c(.1, .2, .1, .3, .2), loss_b = c(.5, .6, .4, .7, .5)))
tidy(state)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.