For each game, identify whether the server or returner won by counting who scored more points than the other.
A data frame whose rows contain pbp records of a game.
The original data frame with an extra column 'winner' denoting whether the server or returner won the game; NAs exist in 'winner' if set4 and/or set5 have 99 in 'pbp'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.