Description Usage Arguments Value Examples
Add replacement level information to simulation data
1 | add_replacement_level_sim(sim_data_list, replacement_tables)
|
sim_data_list |
List of data frames in the simulation:
|
replacement_tables |
List of position tables that designate which players are replacement level:
|
The input sim_data_list but with replacement-level players' names in the play-by-play data all set to be Replacement_POSITION and a new column for each of the positional tables indicating which players are replacement level.
1 2 3 4 | # Join positional replacement level information from
# the 2017 position tables to the simulated data:
sim_data_list <- sim_data_list %>%
add_replacement_level_sim(replacement_tables_17)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.