Description Usage Details Value Examples
View source: R/monty-hall-problem.R
Take the packages from the previous steps and combine them into one package.
1 |
After completing the process of creating small packages to handle specific functions of the game, the time has come to combine them all to run together as one complete package.
The game will return the vector of the strategy function as well as the vector of the outcome function in a table with the appropriate headers.
1 2 3 | Strategy Outcome
stay WIN
switch LOSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.