chance_to_draw_n_games {RKelly}R Documentation

Calculates the chance to draw out of n matches

Description

Calculates the chance to draw out of n matches

Usage

chance_to_draw_n_games(p, n)

Arguments

p

probability of first (or second) player winning match

n

number of matches

Value

The decimal chance for a draw

Examples

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

[Package RKelly version 1.0 Index]