vwp_set_xy: Transform volleyball Set x-y coordinates

Description Usage Arguments Value

View source: R/vwp_set_xy.R

Description

Transforms set x-y coordinates based on the distance from Zone 3

We assume that there are negligible effects of passing slightly left/right/off the net compared to perfect pass. However, if the pass is outside Zone 3, the setting options and quality decrease quickly the further outside the zone. We transform x and y coordinates to their distance from Zone 3.

Usage

1
vwp_set_xy(plays)

Arguments

plays

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

Value

The same object, with new columns containing the transformed x and y coordinates of the set


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