Description Usage Arguments Details Value Examples
View source: R/monty-hall-script.R
Running a loop several times can show which option is better.
1 | play_n_games(n = 100)
|
None |
This gives results of odds of winning if contestant chooses to switch or stay.
Multiple loops run at once.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.