Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
The play_game() executes each step of a single game in order and see which strategy wins/loses.
1 |
... |
no arguments are used by the function. |
The objects assigned to each of the functions to help determine the final game results if contestant switches his pick or stays with his same pick.All the functions are packaged into this single play_game () function which executes each step of a single game in order.
The play game function returns game results in both scenarios (stay & switch)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.