Find serves
Arguments
- x
data.frame: the plays component of a datavolley object, as returned by
dv_read()
Examples
if (FALSE) {
x <- dv_read(dv_example_file(), insert_technical_timeouts=FALSE)
serve_idx <- find_serves(plays(x))
## number of serves by team
table(plays(x)$team[serve_idx])
}