| .flag_is_home | R Documentation |
.flag_is_home() flags if the event belongs to the home team or not for all the events (plays) in a play-by-play.
.flag_is_home(play_by_play)
play_by_play |
data.frame of play-by-play(s); see |
data.frame with one row per event (play) and added isHome column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.