Description Usage Arguments Value
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 object
1 | ds.is_on(player, pbp, venue)
|
player |
a vector of players |
pbp |
a pbp object |
venue |
home or away |
numeric vector of 1 or 0 indicating player on ice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.