Description Usage Arguments Value See Also
View source: R/data_clean_functions.R
split_sets
separates a string containing the pbp record of tennis
matches whose sets are delimited by a period ("."). Since there is a maximum
of 5 sets tennis match, expect a list of 5 entries, each with their pbp
record.
1 | split_sets(vec.pbp)
|
vec.pbp |
A vector of strings containing the pbp record of tennis matches. |
A list of at most 5 strings, each representing the pbp record of sets in a tennis match.
Other sackmann data cleaning functions: data_clean_tot
,
score_sets
,
split_games_by_sets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.