Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
'change_door()' allows contestants to change their original door selection.
1 | change_door(stay = T, opened.door, a.pick)
|
The |
paramaters for this function are stay, opened.door, and a.pick. |
This function determines whether stay is true or false.
The function returns a number from 1-3 that is the value of the final picked door.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.