Description Usage Arguments Value
Predicted rates or scorelines based on a Dixon Coles model object
1 2 3 4 |
object |
Object of class inheriting from 'dixoncoles'. |
newdata |
A data frame in which to look for variables to predict |
type |
Type of prediction (rates or scorelines). |
up_to |
If 'type = "scorelines"', the maximum number of goals for which to calculate the probability of occurring in each match. |
threshold |
If 'type = "scorelines"', scorelines with a probability below 'threshold' will not be returned. |
... |
Arguments passed from other methods |
A list in which each element is a tibble. The contents of the tibble depends on the value supplied to the 'type' argument. These values are enumerated for each possible value of 'type' below:
the side ("home" and "away") and the goalscoring rate of both teams
the probability ('prob') for each scoreline ('hgoal' and 'agoal')
the probability ('prob') of each outcome ("home_win", "draw" or "away_win") occurring
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.