Description Fields Author(s) Examples
Models a Squash game where points a played by sampling from a
binomial distribution weighted by the skill of both contenders. Furthermore,
a graphical visualization of the game result is provided (see graph
).
players
(list) contains both players/opponents of the game
game_length
(numeric) length of the game
winByTwo
(logical) if TRUE, players must win by two clear points
odds
(numeric) a vector of length two representing the winning odds of player1 vs player2
score_lines
(list) played points are kept internally in two score lines separately for each player
Roman Pahl, roman.pahl@gmail.com
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.