create_wpa | R Documentation |
Add Win Probability Added (WPA) calculations to Play-by-Play DataFrame This is only for D1 football
create_wpa_naive(df, wp_model) wpa_calcs_naive(df)
df |
(data.frame required): Clean Play-by-Play data.frame with Expected Points Added (EPA) calculations |
wp_model |
(model default cfbfastR:wp_model): Win Probability (WP) Model |
Requires the following columns to be present in the input data frame.
The original df
with the following columns appended to it:
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.