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.
1 | get_bb_shot_class(data, x, y)
|
data |
a dataframe object |
x_col |
column of x coordinates |
y_col |
column of y coordinates |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.