Description Usage Arguments Details Value Examples
View source: R/newscriptmontyhall.R
determine_winner() generates the result which is whether the contestant has won or lost.
1 | determine_winner(final.pick, game)
|
... |
the door picked by the contestant. |
If the contestant final choice was a door with car then he is a winner and if his choice was a door with a goat behind it then he is a loser.
the result wich is winner or loser.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.