dot-xg_build_model_frame: Build xG model frame

.xg_build_model_frameR Documentation

Build xG model frame

Description

.xg_build_model_frame() is an internal helper for calculate_expected_goals().

Usage

.xg_build_model_frame(shots, play_by_play)

Arguments

shots

data.frame shot rows

play_by_play

data.frame play-by-play input

Value

Internal helper output.


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