Often we are more interested in the outcome of a match (home win, draw, away win) than we are in the scorelines. This is a helper function that aggregates scoreline probabilities to outcome probabilities.
scorelines_to_outcomes(scorelines, hgoal = hgoal, agoal = agoal, prob = prob)
A dataframe containing the scoreline probabilities
The column containing home goals
The column containing away goals
The column containing the probability of that given scoreline