Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
'select_door()' randomly generates a numeric vector (1-3) which indicates a door produced from the create_game() function.
1 |
... |
no arguments are used by the function. |
The randomly generated numbers from this function represent either a "goat" or "car" door from the create_game() function.
The function returns a single numeric vector: 1, 2, or 3.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.