Description Usage Arguments Value
View source: R/ExpectedPointAndWinProbability.R
This function takes in the output of the game level play by play function and returns the same dataframe with a new column added for expected points for each valid play. The expected point model can loaded in the same way that datasets can be loaded for this package
1 | expected_points(dataset)
|
dataset |
(data.frame object) A data.frame as exported from the game_play_by_play function |
The input dataframe with the addition of expected points columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.