play_n_games: Monty Hall game results.

Description Usage Arguments Details Value Examples

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

Description

'play_n_games()' is a function that produces results of multiple rounds of Monty Hall.

Usage

1
play_n_games(n = 100)

Arguments

This

function has the number of game rounds as a parameter.

Details

This function lists the results of multiple rounds of the Monty Hall game.

Value

This function returns the results of multiple rounds of Monty Hall.

Examples

1

castower/montyhall documentation built on March 1, 2020, 12:16 a.m.