Description Usage Arguments Value
View source: R/add_attacking_direction.R
Adding a variable of 'attacking.direction' to the events dataframe allows us to keep track of the direction of play and how that relates to x, y positioning. It's a basic but crucial variable to add to our events dataframe to improve our analysis
1  | add_attacking_direction(events, tDAT, metaDF, GameCentre)
 | 
events | 
 An events dataframe created from the 'parse_f24' function  | 
tDAT | 
 A tracking dataframe created from the 'parse_tracking' function  | 
metaDF | 
 An tracking metadata dataframe created from the 'parse_CH_metadata' function  | 
GameCentre | 
 A list of dataframes created from the 'parse_f7' function  | 
An events dataframe with the added attacking.direction variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.