dot-share_cumulative_xg_series: Build cumulative xG series

.share_cumulative_xg_seriesR Documentation

Build cumulative xG series

Description

.share_cumulative_xg_series() converts shot-attempt rows into home and away step-series vectors.

Usage

.share_cumulative_xg_series(shots, play_by_play)

Arguments

shots

data.frame of shot-attempt rows

play_by_play

full game play-by-play

Value

named list of cumulative xG series


nhlscraper documentation built on June 29, 2026, 1:06 a.m.