vwp_player_number_to_player_name: Convert player number to player name

Description Usage Arguments Value

View source: R/vwp_player_number_to_player_name.R

Description

Looks up a player's team and number in the play-by-play data and reports the corresponding name

Usage

1
vwp_player_number_to_player_name(player_number, player_team, plays)

Arguments

player_number

the number of the player to replace

player_team

the team for which the player plays

plays

a dv_plays object or data frame containing play-by-play data

Value

The same data frame, with an "attack_start_zone" variable indicating the starting zone of the (preceding) attack


dpwynne/volleyWP documentation built on Dec. 20, 2021, 1:13 a.m.