st.sum_skater: Summarize Skater Stats

Description Usage Arguments Value Note

Description

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.

Usage

1
st.sum_skater(x, venue)

Arguments

x

a Corsica PBP data frame object

venue

home or away

Value

player counting stats for the home or away players in the supplied pbp frame

Note

A dplyr::rename() argument must be passed before sum_skater() to convert home/away_on_x to player


pbulsink/hockeyR documentation built on May 15, 2019, 4:16 p.m.