dot-xg_to_logical: Coerce xG feature to logical

.xg_to_logicalR Documentation

Coerce xG feature to logical

Description

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

Usage

.xg_to_logical(x)

Arguments

x

vector input

Value

Internal helper output.


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