Description Usage Arguments Details Value Examples
View source: R/Monty Hall Script.R
play_game()
returns the results of the game given the number of cars and goats inputted by
the player.
1 |
... |
This function does not take any arguments. |
This function is a wrapper function that runs through the game. If used independently, this function would only run through the game once as opposed to the full simulation.
This function returns a character vector that states the results of one game.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.