Rami-Assaad/montyhall: The 3-Door Monty Hall Problem to Determine Probability of Winning and Losing in Case of Switching Door or Staying on The Initial Selection

The package is designed to play the Monty Hall game, where there are three doors for a contestant to choose from, one of which has a car behind it and two have goats. The contestant selects a door, then the host opens a door to reveal a goat, and then the contestant is allowed to stay with their original selection or switch to the other unopened door.There was a famous debate about whether it was optimal to stay or switch when given the option to switch, so this simulation was created to test both strategies.

Getting started

Package details

Maintainer
License`use_mit_license()`, `use_gpl3_license()` or friends to pick a license
Version0.0.0.9000
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("Rami-Assaad/montyhall")
Rami-Assaad/montyhall documentation built on Dec. 18, 2021, 9:52 a.m.