update_score | R Documentation |
This function updates the score if game, set, or match won
update_score(pointa, pointb, gamea, gameb, seta, setb, advantage, bestof3)
pointa |
Points won by server |
pointb |
Points won by receiver |
gamea |
Games won by server |
gameb |
Games won by receiver |
seta |
Sets won by server |
setb |
sets won by receiver |
advantage |
Indicator (T or F) if advantage final set |
bestof3 |
Indicator (T or F) if best of 3 match or best of 5 match |
Match win probability for serving player
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.