Description Usage Arguments Details Value Examples
The function determine_winner()
, determines whether the player's final
pick is a goat door or a car door.
1 | determine_winner(final.pick, game)
|
This |
function contains two arguments as described in the details. If
|
If the player's final.pick
is equal to "car" then they win. If their
final.pick
is equal to "goat" then they lose.
This function returns a length one logical character vector. The choices are "WIN" or "LOSE".
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.