Description Usage Arguments Value Note
sum_skater() summarizes all skater counting stats from a PBP data frame object. x is expected to be a grouped data frame with home_on_x or away_on_x as a grouping variable for venue = "home" and venue = "away" respectively.
1 | st.sum_skater(x, venue)
|
x |
a Corsica PBP data frame object |
venue |
home or away |
player counting stats for the home or away players in the supplied pbp frame
A dplyr::rename() argument must be passed before sum_skater() to convert home/away_on_x to player
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.