Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
select_door()
selects an initial door from the three doors
presented to the contestant at the beginning of the game.
1 |
... |
no arguments are used by the function. |
In the "Let's Make a Deal" game show, the contestant is presented with three doors to choose from. Behind two doors are goats and the other door has a car behind it.
The function returns a length 1 numeric vector indiciting whether the contestant selected door 1, 2, or 3.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.