Description Usage Arguments Value Examples
View source: R/play_game_orig_loop.R
The original Monty Hall game run N times
1 | play_game_orig_loop(N = 10000)
|
N |
Number of loops of the play_game() function. |
... |
further arguments passed to or from other methods. |
The number of goats added to the number of cars makes the total number of doors to choose from. N is then how many simulations it will run. N*2 is the number of datapoints in the dataframe.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.