scorelines_to_outcomes: Aggregate scoreline probabilities to 1X2 probabilities

Description Usage Arguments

View source: R/scorelines_to_outcomes.R

Description

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.

Usage

1
2
scorelines_to_outcomes(scorelines, hgoal = hgoal, agoal = agoal,
  prob = prob)

Arguments

scorelines

A dataframe containing the scoreline probabilities

hgoal

The column containing home goals

agoal

The column containing away goals

prob

The column containing the probability of that given scoreline


Torvaney/regista documentation built on June 7, 2021, 12:21 a.m.