play_game: Play a game

Description Usage Details Value Examples

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

Description

1
2
 goes through all of the steps (functions) that are
 in the monty hall game

Usage

1

Details

1
2
 one iteration of the entire game and will return the
 outcome of the game

Value

1
2
 [1] WIN
 [1] LOSE

Examples

1

AmyTrumpower/montyhall documentation built on Dec. 17, 2021, 8:47 a.m.