Description Usage Arguments Details Value Examples
View source: R/monty-hall-problem.R
'open_goat_door()' selects one of the doors with a goat behind it.
1 | open_goat_door(game, a.pick)
|
This |
function has the details of the created game and the original door selection as paramaters. |
Function to select one of the goat doors.
This function returns a number from 1-3 that represents the door with the goat behind it.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.