Description Usage Arguments Value See Also
View source: R/data_clean_functions.R
For each game, identify whether the server or returner won by counting who scored more points than the other.
1 | score_sets(setnum)
|
setnum |
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'.
Other sackmann data cleaning functions: data_clean_tot
,
split_games_by_sets
,
split_sets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.