pred_score: Function to predict the sore of a football match.

Description Usage Arguments Value Examples

Description

Function to predict the sore of a football match.

Usage

1
pred_score(result, ratio, max_add_goals = 2)

Arguments

result

A string. 'home', 'draw' or 'away'

ratio

The probability that the home team wins

max_add_goals

Maximum additional goals if the home team wins

Value

A string of the result

Examples

1
pred_score("home", 0.8)

duju211/elor documentation built on May 12, 2019, 5:40 a.m.