Description Usage Arguments Value
View source: R/vwp_receiving_player.R
Assigns the receiving player to the serve. If the serve is not received (e.g., error), assigns TEAM as the receiving player. The model does not compute a separate point-win probability for a reception, so this can be used to assign credit for receptions. Additionally, adds a receiving player TEAM for unforced errors to make the win-probability differences balance out.
1 | vwp_receiving_player(plays)
|
plays |
a dv_plays object or data frame containing play-by-play data |
The same data frame, with a "receiving_player" variable indicating which player (if any) received the serve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.