dot-xg_score_xgboost: Score shots with xGBoost

.xg_score_xgboostR Documentation

Score shots with xGBoost

Description

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

Usage

.xg_score_xgboost(df, model_key, bundle = .xg_load_bundle())

Arguments

df

data.frame model-frame input

model_key

character xG model key

bundle

xG model bundle

Value

Internal helper output.


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