Description Usage Arguments Value
View source: R/vwp_zone_distance.R
Assigns a numerical value to the estimated distance between the starting and ending location of an attack that is dug. Values are in meters. Height of the attack is not considered. Currently assumes that all attacks start at the very front center of the zone and are dug in the exact center of the zone.
1 | vwp_zone_distance(plays)
|
plays |
a dv_plays object or data frame containing play-by-play data |
The same data frame, with a "distance" variable indicating the estimated court distance the ball traveled between the attack and the dig
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.