DrawProbability: Compute draw probability

Description Usage Arguments Examples

View source: R/init.r

Description

Compute the draw probability given the draw margin (epsilon). Can be passed to DrawMargin to calculate EPSILON. Refer to Parameters for default input values.

Usage

1
  DrawProbability(epsilon = 0.7404666, beta = 25 / 6, total_players = 2)

Arguments

epsilon

how common draws area

beta

randomness in game

total_players

number of players

Examples

1
2
3
4
5
  draw_margin = 0.7404666
  draw_probability = 0.10
  
  draw_margin <- DrawMargin(draw_probability, beta = 25 / 6, total_players = 2)
  draw_prob = DrawProbability(epsilon = draw_margin, beta = 25 / 6, total_players = 2)		

Example output



trueskill documentation built on May 2, 2019, 5:15 a.m.