open_goat_door: Open Goat Door

Description Usage Arguments Details Value Examples

View source: R/monty-hall-script.R

Description

Host will open a door that will have a goat behind it.

Usage

1
open_goat_door(game, a.pick)

Arguments

None

Details

If contestant selected car, randomly select one of two goats

Value

Host will open a door with a goat behind it, even if the contestant chose the door with the car behind it.

Examples

1

voznyuky/montyhall documentation built on Dec. 23, 2021, 4:11 p.m.