plot_game: Plot single game expected goals

View source: R/graphics.R

plot_gameR Documentation

Plot single game expected goals

Description

Plot single game expected goals

Usage

plot_game(home, away, params = NULL, maxgoal = 10)

Arguments

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.

Value

a ggplot object


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.