plot_game | R Documentation |
Plot single game expected goals
plot_game(home, away, params = NULL, maxgoal = 10)
home |
The Home Team |
away |
The Away Team |
params |
The named list containing m, rho, beta, eta, and k. See updateDC for information on the params list |
maxgoal |
the max number of goals to predict. Plot a few less. |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.