Description Usage Arguments Details Value Examples
View source: R/newscriptmontyhall.R
select_door()generates the door number that was chosen by the contestant.
1 |
... |
no arguments are used by the function. |
The contestant makes their first selection and they have to choose one of the three doors where there are two goats and one car hiding.
The function returns a one numerical number indicating the chosen door.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.