Description Usage Arguments Value Examples

Calculates the probability that player *i* wins over player *j* for match at time *t+1* using the WElo or Elo rates at time *t*. Formally:

*\hat{p}_{i,j}(t+1) = \frac{1}{1+10^{≤ft(E_j(t)-E_i(t)\right)/400}},*

where *E_{i}(t)* and *E_j(t)* are the WElo or Elo rates at time *t*.

1 | ```
tennis_prob(i, j)
``` |

`i` |
WElo or Elo rates for player |

`j` |
WElo or Elo rates for player |

Probability that player *i* wins the match against player *j*

1 2 | ```
tennis_prob(2000,2000)
tennis_prob(2500,2000)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.