Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
play_game() packages all above functions together and plays
the game from the beginning to the end.
1 |
... |
no arguments are used by the function. |
The function will execute all functions by order, generate a random game setting, play around, and returns the result.
The function returns a length 1 character vector indicating the result of the game.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.