Description Usage Arguments Value Examples
Function to predict the sore of a football match.
1 | pred_score(result, ratio, max_add_goals = 2)
|
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 |
A string of the result
1 | pred_score("home", 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.