| .xg_encode_categorical | R Documentation |
.xg_encode_categorical() is an internal helper for calculate_expected_goals().
.xg_encode_categorical(values, var, spec, n)
values |
vector feature values |
var |
character feature name |
spec |
xG preprocessing specification |
n |
integer row count |
Internal helper output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.