dot-xg_bake_matrix: Bake xG model matrix

.xg_bake_matrixR Documentation

Bake xG model matrix

Description

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

Usage

.xg_bake_matrix(data, spec)

Arguments

data

data.frame feature input

spec

xG preprocessing specification

Value

Internal helper output.


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