Description Usage Arguments Details Value
View source: R/vwp_setter_touch.R
Indicates whether the setter touched the ball
1 | vwp_setter_touch(plays, setters)
|
plays |
a dv_plays object or data frame containing play-by-play data. |
setters |
a character vector containing the names of all setters on the teams recorded in the 'plays' dataset. For smaller datasets, the user will typically know this. For larger datasets, it must be inferred. |
Due to the nature of the positions, attacks, digs/freeballs, and sets from setters are qualitatively different from these touches when played by other positions. For teams running a 6-2 offense, this function may still be worthwhile for digs and sets.
The same dataset, with a column with value 1 if the player touching the ball is a setter and 0 otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.