vwp_zone_distance: Compute zone distance

Description Usage Arguments Value

View source: R/vwp_zone_distance.R

Description

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.

Usage

1

Arguments

plays

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

Value

The same data frame, with a "distance" variable indicating the estimated court distance the ball traveled between the attack and the dig


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