Description Usage Arguments Value Examples
View source: R/remove_garbage.R
Garbage time plays are plays in the first quarter with leads greater than 28, 2nd quarter with leads greater than 24, 3rd quarter with leads greater than 21, and the 4th quarter with leads greater than 16.
1 | remove_garbage(plays)
|
plays |
a play by play data frame. |
a data frame containing all non-garbage plays
1 2 3 4 5 | pass <- readin("pass", 2014)
rush <- readin("rush", 2014)
games <- readin("game", 2014)
game_info <- fix_games(games)
no_garbage <- combine_run_pass(rush, pass, game_info) %>% remove_garbage
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.