get_throw_dists: get_throw_dists returns a data frame of throw distances on...

Description Usage Arguments Value

View source: R/catch_prob_feature_engineering_throw.R

Description

get_throw_dists returns a data frame of throw distances on each play

Usage

1
get_throw_dists(pbp, throw_start_events, throw_end_events)

Arguments

pbp

a dataframe of play-by-play data

throw_start_events

a character vector of throw start events

throw_end_events

a character vector of throw end events

Value

a data frame with the game id, the play id, and the throw distance


hjmbigdatabowl/bdb2021 documentation built on Feb. 14, 2021, 1:35 a.m.