tennis_data: Organized dataset with STRATEGIC measurement

Description Usage Format See Also

Description

Organized and abridged version of tennis_cleaned with STRATEGIC

Usage

1

Format

A data frame with 17571 rows (removing tiebreakers) and 37 variables:

pbp_id

point-by-point record of the game

match_num
set_num
game_num

counter of the games in each set (resets to 1 after a new set)

pbp

point-by-point record of the game; S (server won), R (returner won), A (ace), D (double fault)

rally_length

length of rally, i.e., nchar(pbp)

lagging_player

denotes which of the two players is lagging, player1 or player2

leading_player

denotes which of the two players is lagging, player1 or player2

lagging_player_name

name of lagging player

leading_player_name

name of leading player

lagging_serve

1 if lagging player serves, 0 otherwise

leading_serve

1 if leading player serves, 0 otherwise

lagging_points

points scored by lagging player in the game

leading_points

points scored by leading player in the game

lagging_game

1 if lagging player wins game, 0 otherwise

leading_game

1 if leading player wins game, 0 otherwise

diff_game_set

set-wise game deficit; by construction, must be of magnitude at least four

lagging_game_acc_set

number of games won by the lagging player in the given set thus far

leading_game_acc_set

number of games won by the leading player in the given set thus far

lagging_game_acc_tot

number of games won by the lagging player in entire match thus far

leading_game_acc_tot

number of games won by the leading player in entire match thus far

lagging_set

1 if lagging player wins set, 0 otherwise

leading_set

1 if leading player wins set, 0 otherwise

lagging_set_acc

number of sets won by the lagging player thus far

leading_set_acc

number of sets won by the leading player thus far

lagging_match_win

1 if lagging player wins match

leading_match_win

1 if leading player wins match

diff_game_tot

match-wise game deficit

diff_set

match-wise set deficit

lagging_hand

1 if lagging player is right-hand dominant, 0 otherwise

leading_hand

1 if leading player is right-hand dominant, 0 otherwise

diff_hand

1 if players are dominant in different hands, 0 otherwise

diff_rank

difference in the players' ranks

diff_serve_won

difference in the service games won

diff_ret_won

difference in return games won

diff_age

difference in the players' ages

STRATEGIC

1 if lagging player should exert full effort, 0 otherwise; 1 corresponds to when the leading player has won two sets already, 0 otherwise

See Also

tennis_cleaned for parent set

Other final files: tennis_cleaned, tennis


kattaoa/oktennis documentation built on July 13, 2019, 3:15 p.m.