st.old_sum_skater: Summarize Skater Stats (Old PBP Format)

Description Usage Arguments Value Note

Description

old_sum_skater() summarizes all skater counting stats from a Corsica 1.0 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

Arguments

x

a Corsica 1.0 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.