Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
select_door()
allows contestant to choose one door out of the three available doors at random.
1 |
... |
no arguments are used by the function. |
Contestant is asked to pick a door out of the three available doors. Two of the doors are goat doors and only one of the doors is a car door.
The function returns a numeric vector of length one indicating the chosen door by contestant.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.