Learn R Programming

trueskill (version 0.1)

DrawProbability: Compute draw probability

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

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

Run this code
  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)		

Run the code above in your browser using DataLab