get_bb_shot_class: Get basketball shot classes from a game's dataframe.

Description Usage Arguments

Description

get_bb_shot_class is used to get the shot class ("Corner3", "Reg3", etc.) of shots in a given dataframe. The function returns a vector of shot types.

Usage

1

Arguments

data

a dataframe object

x_col

column of x coordinates

y_col

column of y coordinates


mistermichaelll/statcrewRC documentation built on June 1, 2019, 3:57 a.m.