Description Usage Arguments Value
Is On
is_on()
returns a numeric vector indicating 1 if a given player is on ice during the event corresponding to the row index in the given PBP pbject
1 | is_on(player, pbp, venue)
|
player |
the player. |
pbp |
data.frame. The play-by-play. |
venue |
character. |
a numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.