fix_ace_evaluations: Find aces that might not be marked as such

View source: R/cleaning_plays.R

fix_ace_evaluationsR Documentation

Find aces that might not be marked as such

Description

Some DataVolley files do not indicate serve aces with the skill evaluation "Ace". This function will search for winning serves, either with no reception or a reception error, and change their evaluation value to "Ace"

Usage

fix_ace_evaluations(x, rotation_error_is_ace = FALSE, verbose = TRUE)

Arguments

x

datavolley: a datavolley object as returned by dv_read, or list of such objects

rotation_error_is_ace

logical: should a rotation error on reception by the receiving team be counted as an ace?

verbose

logical: print progress to console?

Value

datavolley object or list of such with updated evaluation values

See Also

dv_read


raymondben/datavolley documentation built on April 25, 2024, 10:22 a.m.