open_goat_door: Open Goat Door

Description Usage Arguments Details Value Examples

View source: R/open_goat_door.R

Description

open_goat_doorgenerates a goat door that is not behind your inital pick.

Usage

1
open_goat_door(game, a.pick)

Arguments

...

game, a.pick

Details

1
This opens a goat door but it will be a goat door not already seected and it will never open the car door.

Value

The function returns a length 3 character vector indicating the positions of goats and the car.

Examples

1

JayCastro/montyhall documentation built on Sept. 19, 2020, 12:23 a.m.