vwp_attack_type: Assign attack type

Description Usage Arguments Value

View source: R/vwp_attack_type.R

Description

Assigns a code to attacks, blocks and digs to indicate the quality of the attack. Currently just recodes hard spikes vs. everything else is off-speed.

Usage

1

Arguments

plays

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

Value

The same data frame, with an "attack_type" variable indicating whether the attack was a hard spike or offspeed attack (tip, roll shot, etc.).


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