Description Usage Arguments Value Examples
Simulate many coin flip games via Approximate Bayesian Computation
1 2 | abc_coin_flip_game(players, result = seq_along(players), iters = 10000,
cores = 1L)
|
players |
A list of players created with |
result |
The final ranking of players in the game. The winner should
receive a 1, second place a 2, etc. Set |
iters |
Number of samples to take from the joint distribution (d*, θ*). |
cores |
Number of cores to use for the computation. The special value
|
A bcf_game
object.
1 2 3 4 5 | ## Not run:
players <- list(new_player("Tom"), new_player("Bob"))
sim_game <- abc_coin_flip_game(players)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.