get_throw_dists.Rd
get_throw_dists returns a data frame of throw distances on each play
get_throw_dists(pbp, throw_start_events, throw_end_events)
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 |
a data frame with the game id, the play id, and the throw distance