| .shift_situation_perspective_code | R Documentation |
.shift_situation_perspective_code() is an internal helper for calculate_shift_times_by_situation().
.shift_situation_perspective_code(situation_code, player_is_home)
situation_code |
integer or character situation codes |
player_is_home |
logical vector indicating home-team perspective |
Internal helper output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.