chance_to_draw_n_games: Calculates the chance to draw out of n matches

Description Usage Arguments Value Examples

View source: R/probability_functions.R

Description

Calculates the chance to draw out of n matches

Usage

1

Arguments

p

probability of first (or second) player winning match

n

number of matches

Value

The decimal chance for a draw

Examples

1
chance_to_draw_n_games(0.4, 4) # Draw chance if one player has p=0.4 in four matches

RKelly documentation built on Sept. 4, 2019, 5:03 p.m.