Skip to content

A little R game I made one night I couldn't sleep of the Monty Hall problem.

License

Notifications You must be signed in to change notification settings

PerryLab/monty_hall

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

monty_hall

A little R game I made one night of the monty hall problem when I couldn't sleep (nerrrrrd!).

Usually the problem consists of 3 doors and the simulation is run hundreds/thousands of times and the results plotted under conditions of 'switch choice' and 'stay'. R code is readily available online to do that and I wanted to make a game that can be played with any number of doors with some fun visuals. Took a lot more fiddling to make it work with any number of doors! I'm sure if I looked back through the code I could make it more efficient now....

About

A little R game I made one night I couldn't sleep of the Monty Hall problem.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%